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

2004-09-29 Thread Mark
> > 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. > > > >

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

2004-09-29 Thread Gryffyn, Trevor
TECTED] > 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

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

2004-09-29 Thread Jay Blanchard
[snip] 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 [/snip] The primary reason that you would get this error is because you were unable to connect to the host using sockets. The causes may be varied, f

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

2004-09-29 Thread raditha dissanayake
Brent Clements wrote: 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 firewall server not listening network cable unplugged :-) can you access the site hosted on that server wtih your browser can you ping

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

2004-09-29 Thread Brent Clements
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 s

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

2004-09-29 Thread Gryffyn, Trevor
Can you connect to the same address from the same machine with a web browser? That should help troubleshoot this. If you can and you're still getting the error, maybe post a section of your code and maybe we can get a better idea if why it's failing. -TG > -Original Message- > From: Bre