note 24739 deleted from function.parse-url by didou

From: Date: Thu, 09 Oct 2003 13:29:27 +0000
Subject: note 24739 deleted from function.parse-url by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58131@lists.php.net to get a copy of this message
Note Submitter: ---- The above sample code is incorrect: it incorrectly glues the port between "http:" and "//host". Instead, it should use the port (only if set), by inserting a colon and the port between the host and the path.

« previous php.notes (#58131) next »