note 111956 deleted from function.include-once by googleguy

From: Date: Wed, 17 Apr 2013 11:47:57 +0000
Subject: note 111956 deleted from function.include-once by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-194508@lists.php.net to get a copy of this message
Note Submitter: chiranjeevi1980 at yahoo dot co dot in ---- In the following scripts... <?php include_once dirname(__FILE__).'/second.class.php'; ... ?> or <?php chdir(dirname(__FILE__)); include_once './second.class.php'; ... ?> I would prefer to use with chdir(dirname(__FILE__)); Because Dreamweaver cannot resolve class objects as it could not understand the include statemnent if it is dynamic.

« previous php.notes (#194508) next »