note 77591 added to function.parse-url

From: Date: Wed, 05 Sep 2007 09:32:28 +0000
Subject: note 77591 added to function.parse-url
Groups: php.notes 
Request: Send a blank email to php-notes+get-130192@lists.php.net to get a copy of this message
Note that older versions of PHP (e.g., 4.1) returned an blank string as the path for URLs without any path, such as http://www.php.net However more recent versions of PHP (e.g., 4.4.7) don't set the path element in the array, so old code will get a PHP warning about an undefined index. ---- Server IP: 194.145.210.3 Probable Submitter: 82.38.252.22 ---- Manual Page -- http://www.php.net/manual/en/function.parse-url.php Edit -- https://master.php.net/note/edit/77591 Del: integrated -- https://master.php.net/note/delete/77591/integrated Del: useless -- https://master.php.net/note/delete/77591/useless Del: bad code -- https://master.php.net/note/delete/77591/bad+code Del: spam -- https://master.php.net/note/delete/77591/spam Del: non-english -- https://master.php.net/note/delete/77591/non-english Del: in docs -- https://master.php.net/note/delete/77591/in+docs Del: other reasons-- https://master.php.net/note/delete/77591 Reject -- https://master.php.net/note/reject/77591 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130192) next »