Re: file handle error? or something else?
| From: | CC Zona | Date: | Sat, 24 Feb 2001 21:38:17 +0000 |
| Subject: | Re: file handle error? or something else? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41511@lists.php.net to get a copy of this message | ||
In article <3A98271D.22B0DA44@somers.net>,
rick@somers.net ("rick - SomersNet, Inc.") wrote:
> $sp=fsockopen($host,80) or brake;
> socket_set_timeout($sp, 600) or brake;
> fputs($sp,"GET $filename HTTP/1.1\n") or brake;
Hmm. What's that 'or brake' stuff? 'brake' is used as a constant, but you
don't show what it's defined as. I assume what you're going for is an 'or
die()' function call...?
--
CC