Hi all,
I have been using PHP for quite sometime. I seem to be facing a problem with require_once in PHP. My platform is WinNT.
I will explain the problem in below -
I have written all php files in one file and its in directory C:\inetpub\wwwroot\live. I have some more php files in C:\inetpub\wwwroot\live\resource directory. What happens now is, i require a php file in the live directory from the resource directory. So i do require_once("../functions.php"). This works fine. I require one more file as require_once("../live_functions.php"). This live_functions already has require_once("functions.php"). So this is giving a error like this Failed opening required 'functions.php' (include_path='') in C:\Inetpub\wwwroot\live\live_functions.php on line 4
Please let me what is to be done. Is it some php.ini configuration that i have to change ?
Thanks in advance,
Karthik.