Reply to Re: [PHP] Re: failed to open stream warning

Your name:

Reply:


Posted by Michael Hulse on 10/05/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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация