note 89577 added to function.getcwd
| From: | me_80_me at hotmail dot com | Date: | Sat, 14 Mar 2009 15:50:27 +0000 |
| Subject: | note 89577 added to function.getcwd | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151948@lists.php.net to get a copy of this message | ||
Hello !
i have a problem i want to make a condition
for example
if the current directory is "admin" the script will include a special page for example
"restrected.php"
and i don't know how to do it with this function
----
Server IP: 69.147.83.197
Probable Submitter: 41.250.240.123
----
Manual Page -- http://www.php.net/manual/en/function.getcwd.php
Edit -- https://master.php.net/note/edit/89577
Del: integrated -- https://master.php.net/note/delete/89577/integrated
Del: useless -- https://master.php.net/note/delete/89577/useless
Del: bad code -- https://master.php.net/note/delete/89577/bad+code
Del: spam -- https://master.php.net/note/delete/89577/spam
Del: non-english -- https://master.php.net/note/delete/89577/non-english
Del: in docs -- https://master.php.net/note/delete/89577/in+docs
Del: other reasons-- https://master.php.net/note/delete/89577
Reject -- https://master.php.net/note/reject/89577
Search -- https://master.php.net/manage/user-notes.php