Yes, the script on the box can run and hit google.  I did with telent and it
connected successfully and type a make-up word 'get' follow by the enter key
and got a response below...

--snip--
<html><head><title>400 Bad Request</title><style><!--body {font-family:
arial,sans-serif}div.nav {margin-top: 1ex}div.nav A {font-size: 10pt;
font-family: arial,sans-serif}span.nav {font-size: 10pt; font-family:
arial,sans-serif; font-weight: bold}div.nav A,span.big {font-size: 12pt;
color: #0000cc}div.nav A {font-size: 10pt; color: black}A.l:link {color:
#6f6f6f}A.u:link {color: green}//--></style></head><body text=#000000
bgcolor=#ffffff><table border=0 cellpadding=2 cellspacing=0
width=100%><tr><td rowspan=3 width=1% nowrap><b><font face=times
color=#0039b6 size=10>G</font><font face=times color=#c41200
size=10>o</font><font face=times color=#f3c518 size=10>o</font><font
face=times color=#0039b6 size=10>g</font><font face=times color=#30a72f
size=10>l</font><font face=times color=#c41200
size=10>e</font>&nbsp;&nbsp;</b><td>&nbsp;</td></tr><tr><td
bgcolor=#3366cc><font face=arial,sans-serif
color=#ffffff><b>Error</b></td></tr><tr><td>&nbsp;</td></tr></table><blockqu
ote><H1>Bad Request</H1>Your client has issued a malformed or illegal
request.<p></blockquote><table width=100% cellpadding=0
cellspacing=0><tr><td bgcolor=#3366cc><img alt="" width=1
height=4></td></tr></table></body></html>Connection closed.
--snip--

"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Scott Fletcher wrote:
>
> > This is what I get...
> >
> > --snip--
> > 1
> > Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect
failed
> > in /home/website/emarket/www/zz_test.php on line 4
> >
> > Warning: fsockopen() [function.fsockopen]: unable to connect to
> > www.google.com:80 in /home/website/emarket/www/zz_test.php on line 4
> > [13] [Permission denied]
> > --snip--
>
> Can the box where the script lives and runs hit google?
>
> -- 
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com

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

Reply via email to