RE: [PHP] I have a really stupid question, just trying to debug a script though.
| From: | Gryffyn, Trevor | Date: | Wed, 29 Sep 2004 14:16:48 +0000 |
| Subject: | RE: [PHP] I have a really stupid question, just trying to debug a script though. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198191@lists.php.net to get a copy of this message | ||
"Permission denied" could also probably indicate (in addition to what's
already been mentioned) that there's authentication needed. If you
connect with a web browser, do you get a login prompt window pop up?
Not an HTML one, but one of the the basic HTML Auth type stuff?
Try pointing your script to a site that you know doesn't have anything
funky with it and see if you get the same issue.
-TG
> -----Original Message-----
> From: Brent Clements [mailto:bclem@imaginative-enterprises.com]
> Sent: Wednesday, September 29, 2004 9:49 AM
> To: Brent Clements; php-general@lists.php.net
> Subject: Re: [PHP] I have a really stupid question, just
> trying to debug a script though.
>
>
> I'm going to change this question up a bit. The error is this one:
>
> "Warning: fsockopen(): unable to connect to www.example.com:80 in
> /home/u5/lentesta/html/socket.php on line 2
> Permission denied (13)"
>
> What are some reasons we'd get this? Would a firewall or
> local system tcp/ip
> filtering prevent socket operations from occuring?
>
> Thanks,
> Brent
>
>
> ----- Original Message -----
> From: "Brent Clements" <bclem@imaginative-enterprises.com>
> To: <php-general@lists.php.net>
> Sent: Wednesday, September 29, 2004 8:41 AM
> Subject: [PHP] I have a really stupid question, just trying to debug a
> script though.
>
>
> I know what this means, but what are some reasons why we
> would get this
> error?
>
> Warning: fsockopen(): unable to connect to 128.42.244.20:80
>
> Thanks,
> Brent
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>