ID: 11731 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Network related Operating System: Linux PHP Version: 4.0.6 New Comment: I have reproduced this bug in the exact form as he described it. Somebody needs to fix this one. Previous Comments: ------------------------------------------------------------------------ [2001-07-02 07:10:28] [EMAIL PROTECTED] oh sorry I'am a error with my message, test this code : <? $url = "www.yahoo.com"; $link = fopen("http://$url", "r"); echo "Link ($url): $link<BR>"; $url2 = "www.voyage.com"; $link2 = fopen("http://$url2", "r"); echo "Link2 ($url2): $link2<BR>"; ?> And link2 is only empty... ------------------------------------------------------------------------ [2001-06-27 13:26:52] [EMAIL PROTECTED] Your example script works just fine for me. Which linux distribution is this? RH? Suse? Do you get any error messages into logs? ------------------------------------------------------------------------ [2001-06-27 05:56:51] [EMAIL PROTECTED] <? $url = "www.yahoo.com"; $link = fopen("http://$url", "r"); echo "Link ($url): $link<BR>"; $url2 = "www.yahoo.com"; $link2 = fopen("http://$url2", "r"); echo "Link2 ($url2): $link2<BR>"; ?> Yields: Link (www.yahoo.com): ($link is empty) Link2 (www.voyage.com): ($link2 is empty) version: PHP Version 4.0.6RC3 Configure: '../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=system' '--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--with-layout=GNU' '--enable-memory-limit' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--disable-debug' '--disable-static' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-curl=shared,/usr' '--with-db2' '--with-ndbm' '--with-dom=shared,/usr' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--with-gd=shared,/usr' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-imap=shared,/usr' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mm' '--with-mhash=shared,/usr' '--with-mysql=shared,/usr' '--with-pcre-regex=/usr' '--without-pgsql' '--with-sablot=shared,/usr' '--enable-shmop' '--with-snmp=shared' '--enable-sockets' '--with-sybase-ct=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr' '--enable-wddx' '--with-xml=/usr' '--with-expat-dir=/usr' '--enable-yp' '--with-zlib' ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=11731&edit=1 -- 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]