You are here: Re: [PHP] Re: failed to open stream warning « PHP « IT news, forums, messages
Re: [PHP] Re: failed to open stream warning

Posted by Travis Doherty on 12/20/67 11:36

zedleon wrote:

>>Warning: fopen(home/path/temp") failed to open stream: No such file or
>>I am trying to write a script to work with GnuPG, but can't get past this
>>basic problem.
>>Everything I try gives me the same warning.
>I just corrected the code...I had it correct but posted it in correctly.
>$fp = fopen("home/path/temp" "w+");
>puts($fp, $msg);
>Still getting the same warning...
There is still an error in that code (missing comma) and the error
message also has an unmatched quote.

The actual error message seems clear "No such file or directory" - does
"home/path/temp" exist, did you mean "/home/path/temp".




[Reply to this 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

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