Re: failed to open stream warning

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

 



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@xxxxxxxxxxxxxx> wrote in message
news:5D.8D.34518.B686CB34@xxxxxxxxxxxxxxx
> 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

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