note 105731 added to language.constants
| From: | etdsbastar at gmail dot com | Date: | Sat, 10 Sep 2011 17:53:52 +0000 |
| Subject: | note 105731 added to language.constants | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183082@lists.php.net to get a copy of this message | ||
What if constants not working during the execution of complete script.
Ex.
See the below given file structure:
1. DOCUMENT_ROOT/index.php -> BASEPATH defined.
2. DOCUMENT_ROOT/sample1.php -> BASEPATH accessed, no problem.
But,
3. DOCUMENT_ROOT/includes/sample2.php -> Undeclared constant BASEPATH.
Please, anyone help.
----
Server IP: 69.147.83.197
Probable Submitter: 117.198.0.55
----
Manual Page -- http://www.php.net/manual/en/language.constants.php
Edit -- https://master.php.net/note/edit/105731
Del: integrated -- https://master.php.net/note/delete/105731/integrated
Del: useless -- https://master.php.net/note/delete/105731/useless
Del: bad code -- https://master.php.net/note/delete/105731/bad+code
Del: spam -- https://master.php.net/note/delete/105731/spam
Del: non-english -- https://master.php.net/note/delete/105731/non-english
Del: in docs -- https://master.php.net/note/delete/105731/in+docs
Del: other reasons-- https://master.php.net/note/delete/105731
Reject -- https://master.php.net/note/reject/105731
Search -- https://master.php.net/manage/user-notes.php