List Info

Thread: note 66892 added to function.require




note 66892 added to function.require
user name
2006-05-31 15:35:33
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 -- htt
p://www.php.net/manual/en/function.require.php
Edit        -- http://master.p
hp.net/note/edit/66892
Del: integrated  -- ht
tp://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://m
aster.php.net/note/delete/66892/spam
Del: non-english -- h
ttp://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://ma
ster.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )