#11659 [Com]: fsockopen and fopen
| From: | cold-advanced1335 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:07:33 +0000 |
| Subject: | #11659 [Com]: fsockopen and fopen | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62989@lists.php.net to get a copy of this message | ||
ID: 11659
Comment by: cold-advanced1335 at hotmail dot com
Reported By: the_polymorph at rocketmail dot com
Status: Bogus
Bug Type: Sockets related
Operating System: Red Hat Linux 6.0
PHP Version: 4.0.6
New Comment:
<a href=http://advanced-coldself-f.da.ru>advanced
cold</a>
Previous Comments:
------------------------------------------------------------------------
[2001-06-27 13:31:34] sniper@php.net
Obviously you really don't know PHP too well.
Please ask further support questions elsewhere,
e.g. at php-general@lists.php.net
------------------------------------------------------------------------
[2001-06-27 11:10:58] the_polymorph at rocketmail dot com
Hi.
I checked that url ( corrosive.co.... ) and they evidently deleted the
hello.html file. My httpd.conf file is set up to recognize these file
types:
.php
.php4
.phtml
an error about style/css not found on this server when I attept to open
the php.net site. Is this an include?
Thanks, Katie.
------------------------------------------------------------------------
[2001-06-27 09:45:06] sniper@php.net
Is the .html suffix regocnized to be run by PHP ?
I get 'file not found' on that url too. Or did you
delete it already?
And your script works for me just fine.
--Jani
------------------------------------------------------------------------
[2001-06-26 12:10:10] the_polymorph at rocketmail dot com
Hi.
New problem / question.
The following code generates the following error:
Not Found
The requested URL/style.css was not found on this server.
<HTML>
<HEAD>
<TITLE>
</HEAD>
</TITLE>
<BODY>
<?php
$webpage = "http://php.net/support.php";
$fp = fopen( $webpage, "r" ) or die("Couldn't open $webpage");
while( ! feof($fp ))
print fgets( $fp, 1024 );
?>
</BODY>
</HTML>
I tried it again with the URL:
http://www.corrosive.co.uk/php/hello.html
and it wouldn't connect. The output was consistently:
"couldn't open www.corrosive.co.uk/php/hello.html"
Thanks,
Katie.
------------------------------------------------------------------------
[2001-06-26 11:28:56] the_polymorph at rocketmail dot com
Hi.
The error I *was* receiving was the same as Bug i.d. #11058
Thanks.
------------------------------------------------------------------------
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/11659
--
Edit this bug report at http://bugs.php.net/?id=11659&edit=1