Re: Serious Fopen Problems - not newbie :)

From: Date: Fri, 31 Aug 2001 04:27:32 +0000
Subject: Re: Serious Fopen Problems - not newbie :)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65407@lists.php.net to get a copy of this message
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 > > >

« previous php.general (#65407) next »