note 66892 added to function.require

From: Date: Wed, 31 May 2006 15:35:33 +0000
Subject: note 66892 added to function.require
Groups: php.notes 
Request: Send a blank email to php-notes+get-112655@lists.php.net to get a copy of this message
I have found a problem when I try to access a php file via require($class_directory) // # $class_directory contain a long full path and dot into the last folder. // # $class_directory = "/var/.../app/system/plugintoto_1.0/class_plugintoto_1.0.php"; // dot ('.') and minus ('-') are not accepted in require ! ---- Server IP: 217.174.203.10 Probable Submitter: 217.128.8.36 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.require.php Edit -- http://master.php.net/note/edit/66892 Del: integrated -- http://master.php.net/note/delete/66892/integrated Del: useless -- http://master.php.net/note/delete/66892/useless Del: bad code -- http://master.php.net/note/delete/66892/bad+code Del: spam -- http://master.php.net/note/delete/66892/spam Del: non-english -- http://master.php.net/note/delete/66892/non-english Del: in docs -- http://master.php.net/note/delete/66892/in+docs Del: other reasons-- http://master.php.net/note/delete/66892 Reject -- http://master.php.net/note/reject/66892 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112655) next »