ID:               37894
 User updated by:  roclar at gmail dot com
 Reported By:      roclar at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Filesystem function related
 Operating System: Solaris 10
 PHP Version:      4.4.2
 New Comment:

That last comment was retreived using wget from the command 
line on the server that hosts both the php script.  It is 
also the server where I am trying to pull the data from.  If 
I wget http://www.example.com directly, I get the data:

--12:10:28--  http://www.example.com/
           => `index.html'
Resolving www.example.com... 127.0.0.1
Connecting to www.example.com[127.0.0.1]:80... connected.
HTTP request sent, awaiting response... 200 OK


Previous Comments:
------------------------------------------------------------------------

[2006-06-23 15:30:29] [EMAIL PROTECTED]

Again. Please try to connect to this web-server (aka example.com) using
a telnet or wget or something else from the server where the script is
located. I want you to do this because I suspect there is a firewall or
a proxy or some other reason which prevents you from connecting from one
server to another.
What you need to do: login to the server, run `telnet <example.com> 80`
(or wget example.com/some_page.html), make sure you're able to get the
data.

------------------------------------------------------------------------

[2006-06-23 15:20:01] roclar at gmail dot com

<br />
<b>Warning</b>:  main(http://www.example.com/) [<a 
href='function.main'>function.main</a>]: failed to open 
stream: HTTP request failed!  in <b>/path/to/script/
testit.php</b> on line <b>3</b><br />
<br />
<b>Warning</b>:  main() [<a 
href='function.include'>function.include</a>]: Failed 
opening 'http://www.example.com/' for inclusion 
(include_path='.:/usr/local/php/lib/php') in <b>/path/to/
script/testit.php</b> on line <b>3</b><br />

------------------------------------------------------------------------

[2006-06-23 15:14:58] [EMAIL PROTECTED]

The "same result"? I.e. "unable to connect"?

------------------------------------------------------------------------

[2006-06-23 15:00:04] roclar at gmail dot com

I could use wget on the server and get the same result.

------------------------------------------------------------------------

[2006-06-23 14:52:14] [EMAIL PROTECTED]

But are you able to connect to this server from the same host where
your PHP script is located?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/37894

-- 
Edit this bug report at http://bugs.php.net/?id=37894&edit=1

Reply via email to