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.
An empty file gets created though.

Its silly, but cant find the reason..
Please help,

Mukta 


        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to