Re: [PHP] Re: File not rewritable - why? Help needed.

2003-02-13 Thread Marek Kilimajer
If the file does not exists, the web server needs write priviledge to the directory where you want to create it. Paul Dunkel wrote: Marek Kilimajer wrote: use chmod 755 directory on each directory that is in the way to your file I tried that, too. Didn't help. Here is the code, stripped

[PHP] Re: File not rewritable - why? Help needed.

2003-02-12 Thread user
thank you for the reply Chmod was just a try from my side to get it work. I tried CHMOD 0777, and everything else, too. Didn't work. Could it be that the server doesn't allow writings at all? As you see, I am a newbie in these things. Remember to write to a file PHP (the user nobody or

Re: [PHP] Re: File not rewritable - why? Help needed.

2003-02-12 Thread Awlad Hussain
try CHMOD 777 - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 12, 2003 9:22 AM Subject: [PHP] Re: File not rewritable - why? Help needed. thank you for the reply Chmod was just a try from my side to get it work. I tried CHMOD 0777

Re: [PHP] Re: File not rewritable - why? Help needed.

2003-02-12 Thread Marek Kilimajer
Also make sure server has read permission to directories. [EMAIL PROTECTED] wrote: thank you for the reply Chmod was just a try from my side to get it work. I tried CHMOD 0777, and everything else, too. Didn't work. Could it be that the server doesn't allow writings at all? As you see, I am

Re: [PHP] Re: File not rewritable - why? Help needed.

2003-02-12 Thread user
Awlad Hussain wrote: try CHMOD 777 I tried that. It didn't help. I also tried in two other servers with no result. I'm definetly doing something wrong :-( More ideas? Paul Dunkel -- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: File not rewritable - why? Help needed.

2003-02-12 Thread user
Marek Kilimajer wrote: Also make sure server has read permission to directories. I'm pretty sure that is the problem. How should I check that? I've now tried my PHP in two other servers with no result. I'm definetly doing something wrong :-( Paul Dunkel -- [EMAIL PROTECTED] -- PHP

Re: [PHP] Re: File not rewritable - why? Help needed.

2003-02-12 Thread Marek Kilimajer
use chmod 755 directory on each directory that is in the way to your file [EMAIL PROTECTED] wrote: Marek Kilimajer wrote: Also make sure server has read permission to directories. I'm pretty sure that is the problem. How should I check that? I've now tried my PHP in two other servers

Re: [PHP] Re: File not rewritable - why? Help needed.

2003-02-12 Thread Paul Dunkel
Marek Kilimajer wrote: use chmod 755 directory on each directory that is in the way to your file I tried that, too. Didn't help. Here is the code, stripped to the original, straight from the tutorial. And I can't get it work. What's wrong here? $somecontent = 'PERKELE\n'; $filename =

[PHP] Re: File not rewritable - why? Help needed.

2003-02-11 Thread Bobby Patel
Are you on a Windows platform, or *nix. I would assume *nix since you mentioned chmod. what did you chmod the file to? who owns the file? and what user does PHP run as (maybe nobody, or httpd)? Just to get it to work chmod the file to 777, BUT this is a security risk. MAKE SURE this file is NOT