ID: 23220 Comment by: tim at timcrider dot com Reported By: storozhilov at mail dot ru Status: No Feedback Bug Type: Filesystem function related Operating System: FreeBSD 4.8 PHP Version: 4-STABLE-200307070330 Assigned To: wez New Comment:
oh by the way. I am trying this with https:// as wez requested and am reproducing the same error: PHP 5.0.0b2 (cli) (built: Dec 7 2003 18:04:51) Copyright (c) 1997-2003 The PHP Group Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 Zend Technologies with Turck MMCache v2.4.6, Copyright (c) 2002-2003 TurckSoft, St. Petersburg, by Dmitry Stogov Previous Comments: ------------------------------------------------------------------------ [2003-12-12 20:54:11] tim at timcrider dot com I am having the same problem on Red Hat 9.0 with PHP 5.0 B2. It's coming from Net/Socket.php ------------------------------------------------------------------------ [2003-12-04 02:24:40] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-11-28 17:12:02] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip I've just comitted a fix for feof() that might solve this problem too. Please try the next snapshot (dated after this notification) and let us know. ------------------------------------------------------------------------ [2003-11-28 11:42:55] ddwyer at starband dot net Similar bug in PHP Win32 5.0B2 ------------------------------------------------------------------------ [2003-10-26 14:41:20] [EMAIL PROTECTED] Re-opening at user request. Users comments that have mysteriously vanished are: =================================================== See the code below to verify , I'm not able to alter php versions since it's hosted with my ISP so please test it with the latest version so it can be closed as being fixed or further investigation needed. <?php $method = "ssl://"; $host = "memberservices.passport.net"; $port = 443; $url = "/"; $file = fsockopen($method.$host,$port,$errno,$errstr,30); if(!$file) { print ("error"); exit; } fputs($file,"GET ".$url." HTTP/1.1\r\n"); fputs($file,"Host: ".$host."\r\n"); fputs($file,"Connection: Keep-Alive\r\n"); fputs($file,"Cache-Control: no-cache\r\n\r\n"); while(!feof($file)) { $output = fgets ($file, 1024); } fclose($file); ?> output: PHP Warning: fgets(): SSL: fatal protocol error in /path.to/test_ssl.php on line 18 Please put the bug to 'open'. ------------------------------------------------------------------------ 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/23220 -- Edit this bug report at http://bugs.php.net/?id=23220&edit=1