note 106896 added to function.http-build-url
| From: | jrfish dot x at gmail dot com | Date: | Fri, 16 Dec 2011 12:22:05 +0000 |
| Subject: | note 106896 added to function.http-build-url | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185089@lists.php.net to get a copy of this message | ||
tycoonmaster at gmail dot com :
there is a bug in your script. on line 45, replace
$parse_url = parse_url( $url );
with
if( is_array( $url ) )
$parse_url = $url;
else
$parse_url = parse_url( $url );
----
Server IP: 147.32.160.17
Probable Submitter: 178.23.218.49
----
Manual Page -- http://www.php.net/manual/en/function.http-build-url.php
Edit -- https://master.php.net/note/edit/106896
Del: integrated -- https://master.php.net/note/delete/106896/integrated
Del: useless -- https://master.php.net/note/delete/106896/useless
Del: bad code -- https://master.php.net/note/delete/106896/bad+code
Del: spam -- https://master.php.net/note/delete/106896/spam
Del: non-english -- https://master.php.net/note/delete/106896/non-english
Del: in docs -- https://master.php.net/note/delete/106896/in+docs
Del: other reasons-- https://master.php.net/note/delete/106896
Reject -- https://master.php.net/note/reject/106896
Search -- https://master.php.net/manage/user-notes.php