note 105731 rejected from language.constants by danbrown

From: Date: Sat, 10 Sep 2011 18:12:13 +0000
Subject: note 105731 rejected from language.constants by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-183083@lists.php.net to get a copy of this message
Note Submitter: etdsbastar at gmail dot com ---- 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.

« previous php.notes (#183083) next »