Re: Code Refusing to Die
| From: | rm | Date: | Wed, 18 Jul 2001 23:00:56 +0000 |
| Subject: | Re: Code Refusing to Die | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58584@lists.php.net to get a copy of this message | ||
try using fsockopen from the php network functions
works better than fopen...we use it to run wget on one
of our machines.......fopen is supposed to report
false on failure, however, we don't use it for
connections outside our file system and even then we
always use file_exists before using fopen on the local
machine...it should report false.
> What I don't understand is why the die statement
> never executes.
> If you try to fopen a file that doesn't exist
> shouldn't fopen return false?
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/