ID:               36468
 Updated by:       [EMAIL PROTECTED]
 Reported By:      imo at popular dot lv
-Status:           Open
+Status:           Bogus
 Bug Type:         *Network Functions
 Operating System: Linux
 PHP Version:      5.1.2
 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.

Configure your OS/httpd correctly (/etc/hosts for instance)


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

[2006-02-20 22:47:07] imo at popular dot lv

Description:
------------
problem with file_get_contents, fread an stream_get_content
on windows all works fine, but on linux not work :(



Reproduce code:
---------------
<?
echo file_get_contents("http://127.0.0.1/somedir/somefile.php";);
// result: blank or fatall error 0

echo file_get_contents("http://mydomain.lv/somedir/somefile.php";);
//all works fine

echo file_get_contents("http://localhost/somedir/somefile.php";);
//all works fine
?>




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


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

Reply via email to