ID: 11659
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Sockets related
Operating system: Red Hat Linux 6.0
PHP Version: 4.0.6
Description: fsockopen and fopen
Hi.
The error I *was* receiving was the same as Bug i.d. #11058
Thanks.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-26 11:26:18] [EMAIL PROTECTED]
Hi.
It seems I made an error in not securing my machine from the clutches of my roommate.
He started 20 seperate httpd processes! When I went through and used kill -9 on all of
them and re-started the web server, the php code worked.
Sorry. I did receive the error style/css on found on the server. What does this mean
and how can I fix it?
I am a serious PHP user and your assistance is very much appreciated. Are there any
areas I should look for onm own so I won't take up too much of your time? Such as
php.ini in case I have another question?
Thanks, Katie.
---------------------------------------------------------------------------
[2001-06-26 05:42:43] [EMAIL PROTECTED]
Your example script works just fine.
Can you please explain what exactly doesn't work?
And preferrably include suck non-working example
script (short one) into this bug report.
---------------------------------------------------------------------------
[2001-06-25 09:02:29] [EMAIL PROTECTED]
<?php
$fd = fopen("http://www.php.net/", "r" );
if($fd)
{
fpassthru($fd);
}
?>
I am also unable to write *functional* scripts using fsockopen...
My compile line was:
#./configure --with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/
--with-apxs=/usr/localapache_1.3.20/bin/apxs
make
make install
I am using Netscape 4.51.
Thanks, Katie.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11659
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]