07-24-2008, 09:43 AM
|
#4 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
By the way, you cant require directories. you should only use require/include for php files.
Now if you want to set an include path, just do this
PHP Code:
set_include_path('dir2'); require 'myfile.php';
This will only use require/include to get from the include path dir2, it's limited till you change it back or change it to something else.
__________________
VillageIdiot can have my babbies ;d
|
|
|
|