FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » fopen error
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: fopen error [message #175234 is a reply to message #175227] Sun, 28 August 2011 16:36 Go to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Sat, 27 Aug 2011 20:56:44 -0400, eBob.com wrote:

> This fopen fails and I don't understand why ...
>
> $fpFileOut = fopen($fileout,"c");
> if (!$fpFileOut) {echo "Error opening $fileout\n"; echo E-WARNING;
> exit;}

If you're doing this at the command line, you should get an error message
of some sort.

If you're doing it on a web server, it should write an error message
somewhere.

The error message may have more information.

Look on the php documentation website for error handling functions to
obtain the error message if you can't find it anywhere else.

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mktime 2-digit vs 4-digit year
Next Topic: OpenSSL, openssl_pkey_get_private
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 21:55:25 GMT 2024

Total time taken to generate the page: 0.05175 seconds