PHp Includes (1 Viewer)

Rabbie

Super Moderator
Local time
Today, 06:25
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.
 

Rabbie

Super Moderator
Local time
Today, 06:25
Joined
Jul 10, 2007
Messages
5,906
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.
 

Users who are viewing this thread

Top Bottom