note 106772 added to function.parse-url

From: Date: Mon, 05 Dec 2011 18:28:37 +0000
Subject: note 106772 added to function.parse-url
Groups: php.notes 
Request: Send a blank email to php-notes+get-184916@lists.php.net to get a copy of this message
Typo on last post in getRootDomain function, should be: public function getRootDomain($domain) { $domain = explode('.', $domain); $tld = array_pop($domain); $name = array_pop($domain); $domain = "$name.$tld"; return $domain; } ---- Server IP: 69.147.83.197 Probable Submitter: 209.221.8.10 ---- Manual Page -- http://www.php.net/manual/en/function.parse-url.php Edit -- https://master.php.net/note/edit/106772 Del: integrated -- https://master.php.net/note/delete/106772/integrated Del: useless -- https://master.php.net/note/delete/106772/useless Del: bad code -- https://master.php.net/note/delete/106772/bad+code Del: spam -- https://master.php.net/note/delete/106772/spam Del: non-english -- https://master.php.net/note/delete/106772/non-english Del: in docs -- https://master.php.net/note/delete/106772/in+docs Del: other reasons-- https://master.php.net/note/delete/106772 Reject -- https://master.php.net/note/reject/106772 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184916) next »