Rabbie
Super Moderator
- Local time
- Today, 12:34
- Joined
- Jul 10, 2007
- Messages
- 5,906
Hi
I am having problems getting PHP Include to work properly. It will work if I use it as include("File.php"); or even include("directory/file.php") where directory is a sub-directory in the same place as the calling PHP file. What doesn't work is include("./directory/file.php").
I need this to work because it is what is used in phpMyadmin. PHP documentation suggests it should work. What settings do I need in php.ini to make this work. I have googled without success. All help very welcome.
I am having problems getting PHP Include to work properly. It will work if I use it as include("File.php"); or even include("directory/file.php") where directory is a sub-directory in the same place as the calling PHP file. What doesn't work is include("./directory/file.php").
I need this to work because it is what is used in phpMyadmin. PHP documentation suggests it should work. What settings do I need in php.ini to make this work. I have googled without success. All help very welcome.