Jump to content

Phrozin

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Phrozin's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yeah, I disabled caching on the site until I get it resolved.
  2. Phrozin

    fopen

    in ftp surfer, login to your ftp site. right click file, choose "change permissions". check mark : read / write under owner and group. try again, if nothing happens, try checking read / write under owner, group, and other. should fix it for you. Joe
  3. Phrozin

    fopen

    the problem is that fopen tries to open the file, but the server sends the message "you are not autherized to access this file" back to php. The previous post is correct, you need to chmod the file. chmod'ing is basicly telling the computer what people are allowed to access the file. 777 = everyone and their brother in law can read/write/execute the file. here is a tutorial I found online that explains chmod'ing [url=http://catcode.com/teachmod/]link[/url]. You should have FTP access to your site, (that's how most people upload their files to the server) and most FTP programs will allow you to change permissions of files (chmod). If you dont have a FTP program, [url=http://www.snapfiles.com/reviews/FTP_Wanderer/ftpwanderer.html]here[/url] is a pretty good one that's freeware and allows you to change permissions by right clicking on the files and choosing "properties". Joe
  4. Hi all. I started learning HTML and  PHP 4 days ago, and I've actually managed to make my own website (w00t!), but I have a problem I just can't figure out of find an answer to through google. I have my [url=http://www.phrozin-tt.com]site[/url] setup so that a visiter can change themes by clicking on the little squares up top/right. This action sets a cookie that keeps the themes name. I also inserted code that caches the site to speed things up. Problem is that the cache doesn't take a theme into account, this results in the webpage being displayed in whatever theme was active when the cache was created. Now I figured that if I include the cache file after the css link it would be fine (as it wouldn't cache the css link), but that means that everything above the css link would not be cached either. Everything I've been reading about caching says that the cache code has to be run before anything else is. is this true? will I be negating the effect of caching by starting after the css link? I'd post up some code, but I really don't know what code anyone would need to see, so I'll wait till you say something like "well, we need to see your code for cookies", or "we need to see the code for the themes" or whatever. My website is static, but emulates having a DB. I do have MySQL, but I don't really want to use DBs because I had a premade (cookie cutter) CMS that got hacked. Am I pretty much fubar'd without a DB? Thanks for reading and any help you can give. Joe
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.