Re: Re: failed to open stream warning
| From: | Michael Hulse | Date: | Thu, 05 Jan 2006 01:08:06 +0000 |
| Subject: | Re: Re: failed to open stream warning | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228184@lists.php.net to get a copy of this message | ||
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