[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
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.
2 matches
Mail list logo