|
Posted by Michael Hulse on 10/02/86 11:36
On Jan 4, 2006, at 4:56 PM, zedleon wrote:
> I just corrected the code...I had it correct but posted it in
> correctly.
>
> $fp = fopen("home/path/temp" "w+");
> puts($fp, $msg);
> fclose($fp);
>
> Still getting the same warning...
>
I think you forgot a comma this time...
$fp = fopen("home/path/temp", "w+");
Other than that, do you have a file you can specify? Also, you should
make sure your permissions are set correctly... check the parent folder
and the file you want to open.
I am sure you have been here already, but:
http://us2.php.net/manual/en/function.fopen.php
Good luck,
Micky
Navigation:
[Reply to this message]
|