View Full Version : PHp Includes


Rabbie
10-18-2007, 01:22 AM
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.

Rabbie
10-24-2007, 01:04 AM
I am glad to say the issue is now resolved. After many google searches, I completely uninstalled PHP and phpMyAdmin and cleaned out all traces of them from the file system, the registry and the environment path. After reinstalling things started to work correctly.