ID: 39803 Updated by: [EMAIL PROTECTED] Reported By: marcelo at tpn dot com dot br -Status: Open +Status: Bogus Bug Type: Sockets related Operating System: FreeBSD 5.3 PHP Version: 4.4.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Please consult your system administrator on how to disable the firewall. Previous Comments: ------------------------------------------------------------------------ [2006-12-12 01:10:21] marcelo at tpn dot com dot br Description: ------------ The function fsockopen() is always failing and returning -1. I already tried with differents hostnames and IP address. I'm using FreeBSD 5.3. Reproduce code: --------------- <?php $fp = fsockopen("www.google.com", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)\n"; } ?> Expected result: ---------------- $fp should be TRUE... Actual result: -------------- But... $fp is returning FALSE $errno is returning 36 $errstr is returning "Operation now in progress" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39803&edit=1
