--- "Gryffyn, Trevor" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] 
> > Sent: Wednesday, September 29, 2004 9:49 AM
> > To: Brent Clements; [EMAIL PROTECTED]
> > 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" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > 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
[EMAIL PROTECTED]
***************************************
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to