note 2314 deleted from fopen by ronabop

From: Date: Sat, 19 Aug 2000 03:43:29 +0000
Subject: note 2314 deleted from fopen by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2609@lists.php.net to get a copy of this message
I had an code to open remote URL by <br> fopen("$url","r"); It worked before. But it does not work now! It gives error msg:<br> Warning: fopen("http://www.metu.edu.tr/","r") - Transport endpoint is not connected in /home/sait/public_html/TEST/test.php3 on line 42<br> When I changed hostname with IP, it works. When I tried to change hostname to the IP by using gethostbyname, it does not works!!! it gives itself as result. The problem is in version PHP 3.0 OR I need to talk with system admin, for posiable DNS problems??

« previous php.notes (#2609) next »