note 114600 added to function.dirname
| From: | iam at shaz3e dot com | Date: | Tue, 11 Mar 2014 01:34:04 +0000 |
| Subject: | note 114600 added to function.dirname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198856@lists.php.net to get a copy of this message | ||
File located locally in: F:\localhost\www\Shaz3e-ResponsiveFramework\S3-CMS\_source
Localhost Path: http://s3lab.com/Shaz3e-ResponsiveFramework/S3-CMS/_source/
Example 1: dirname($_SERVER['PHP_SELF']); //output:
/Shaz3e-ResponsiveFramework/S3-CMS/_source
Example 2: "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']);
//output: http://s3lab.com/Shaz3e-ResponsiveFramework/S3-CMS/_source
Example 3: $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']); //output:
s3lab.com/Shaz3e-ResponsiveFramework/S3-CMS/_source
----
Server IP: 202.5.128.4
Probable Submitter: 59.103.193.204
----
Manual Page -- http://php.net/manual/en/function.dirname.php
Edit -- https://master.php.net/note/edit/114600
Del: integrated -- https://master.php.net/note/delete/114600/integrated
Del: useless -- https://master.php.net/note/delete/114600/useless
Del: bad code -- https://master.php.net/note/delete/114600/bad+code
Del: spam -- https://master.php.net/note/delete/114600/spam
Del: non-english -- https://master.php.net/note/delete/114600/non-english
Del: in docs -- https://master.php.net/note/delete/114600/in+docs
Del: other reasons-- https://master.php.net/note/delete/114600
Reject -- https://master.php.net/note/reject/114600
Search -- https://master.php.net/manage/user-notes.php