Re: Serious Fopen Problems - not newbie :)
| From: | speedboy | Date: | Fri, 31 Aug 2001 06:34:39 +0000 |
| Subject: | Re: Serious Fopen Problems - not newbie :) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65417@lists.php.net to get a copy of this message | ||
> I'm sure http://www.php.net exists. :)
No, what my sentence meant was you're trying to do some operations on a
mis-typed file descripter?
$fp = fopen...
fputs($fp2...
^- There should be no 2.
Possibly something like that?
> > > > 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
> >
> > You're trying to do operations on a file descripter that doesn't exist?