note 77184 added to function.ltrim
| From: | ludwigvb at gmail dot comNOSPAM | Date: | Sun, 19 Aug 2007 00:39:07 +0000 |
| Subject: | note 77184 added to function.ltrim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129582@lists.php.net to get a copy of this message | ||
in order to get the url you can use:
ltrim($_SERVER['HTTP_HOST'], "www.")
for example if you are on:
www.mydomain.com
this will output:
mydomain.com
----
Server IP: 147.52.159.12
Probable Submitter: 62.1.164.158
----
Manual Page -- http://www.php.net/manual/en/function.ltrim.php
Edit -- https://master.php.net/note/edit/77184
Del: integrated -- https://master.php.net/note/delete/77184/integrated
Del: useless -- https://master.php.net/note/delete/77184/useless
Del: bad code -- https://master.php.net/note/delete/77184/bad+code
Del: spam -- https://master.php.net/note/delete/77184/spam
Del: non-english -- https://master.php.net/note/delete/77184/non-english
Del: in docs -- https://master.php.net/note/delete/77184/in+docs
Del: other reasons-- https://master.php.net/note/delete/77184
Reject -- https://master.php.net/note/reject/77184
Search -- https://master.php.net/manage/user-notes.php