Well, try it from the command line and strace it and see which errno the
socket open call is giving you (you said you weren't a newbie).

-Rasmus

On Fri, 31 Aug 2001, Paul Procacci wrote:

> Hey all,
>     I've been using php for a long time and never have I had a problem
> with fopen().  Everytime I try to use fopen, I get some weird error
> messages.  If I do fopen("http://www.php.net";, "r") - I get this error
> message: Undefined error:
> If I try doing
> fopen("http://www.somehost.com/~myname/somefile.php?var=value";, "r") - I
> get this message:   Bad file descriptor
> What the heck is going on here?  I've tried everything, except for
> submitting a bug report.  I hope someone will have some answers.
>
> Thanks,
> Paul
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to