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

Posted by "zedleon" on 10/05/07 11:36

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...

Thanks

""zedleon"" <support@passeycorp.com> wrote in message
news:5D.8D.34518.B686CB34@pb1.pair.com...
> Has anybody had any experience in resolving this kind of issue?
>
> Warning: fopen(home/path/temp") failed to open stream: No such file or
> directory
> 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.
>
> Here is the code:
>
> $fp = fopen("home/path/temp "w+");
> puts($fp, $msg);
> fclose($fp);
>
> any suggestion would be appreciated,
>
> Thanks
>
> zed

 

Navigation:

[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

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