Re: Re: failed to open stream warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



zedleon wrote:

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

Travis

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux