Re: fopen failing to connect
| From: | jennifer jefferson | Date: | Wed, 15 May 2002 22:42:25 +0000 |
| Subject: | Re: fopen failing to connect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97836@lists.php.net to get a copy of this message | ||
thanks for looking. my guess is that it could be a
server configuration issue. i am really not sure. the
actual script works.... just not on the server i need
it to work on. maybe it has something to do with the
.ini file or the installation. i am not very familiar
with that. does this sound likely as a problem?
thanks.
-jennifer
--- Kevin Stone <kevin@helpelf.com> wrote:
> Jennifer, works just fine here..
>
> ---------
> $fp =
>
fopen("http://www.thedeal.com/NASApp/cs/ContentServer?pagename=TheDeal/xmlfe
> ed","r");
> if ($fp !== FALSE)
> echo "The file exists!";
> else
> echo "The file does not exist";
> ---------
>
> This prints "The file exists!" so it may be
> something else in your code
> cuasing the problem. And when I read the file it
> displays a bunch of
> numbers. Don't know what you could be doing wrong
> but if you continue to
> experiece problems post some more of your code and
> maybe we can decipher the
> error from that.
>
> -Kevin
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com