note 14455 deleted from function.fopen by wez

From: Date: Wed, 14 May 2003 23:01:20 +0000
Subject: note 14455 deleted from function.fopen by wez
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-47998@lists.php.net to get a copy of this message
It appears that fopen() always opens a connection to port 80 when the location string starts with "http://", so these lines are functionally identical: $fd = fopen('http://www.foo.com:8080/'); $fd = fopen('http://www.foo.com:80/'); $fd = fopen('http://www.foo.com/');

« previous php.notes (#47998) next »