Re: Re: File not rewritable - why? Help needed.
| From: | Paul Dunkel | Date: | Wed, 12 Feb 2003 19:08:44 +0000 |
| Subject: | Re: Re: File not rewritable - why? Help needed. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135387@lists.php.net to get a copy of this message | ||
Marek Kilimajer wrote:
use chmod 755 directory on each directory that is in the way to your fileI 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 = 'teksti.txt'; $handle = fopen($filename, 'wb'); fwrite($handle, $somecontent); fclose($handle); I've tried this in two totally different servers, tomorrow I'll try on the third one. All help absolutely welcome! Paul Dunkel -- pdunkel.nic.fi