Re: [PHP] fopen successful..cant write to the file though permissions are ok..

2004-06-11 Thread Matt Matijevich
[snip] $filename"/tmp/newfile"); $filehandle=fopen($filename,"w"); fclose($filehandle); [/snip] is this the exact code you are trying to use? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fopen successful..cant write to the file though permissions are ok..

2004-06-11 Thread mukta telang
Hi, I am facing a strange problem..When I try to create a file in /tmp directory (using php script) as follows: $filename"/tmp/newfile"); $filehandle=fopen($filename,"w"); fclose($filehandle); I get error something like fclose(): ~not a stream~. All routines like fwrite(), readdir() give errors.