RE: [PHP] I have a really stupid question, just trying to debug a script though.

From: Date: Wed, 29 Sep 2004 15:52:45 +0000
Subject: RE: [PHP] I have a really stupid question, just trying to debug a script though.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198200@lists.php.net to get a copy of this message
--- "Gryffyn, Trevor" <TGryffyn@air-cargo-inc.com> wrote: > "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? > > Is this site yours? 128.42.244.20 (the IP from the original post)? If it's not, you should probably ask the site owner why you would get that. It seems to work fine going in with a browser. If it's your site, I agree that you should try disabling your firewall to test and see if that is what is interfering. > > 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 > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ===== Mark Weinstock mark_weinstock@yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com

« previous php.general (#198200) next »