Link to home
Start Free TrialLog in
Avatar of duta
duta

asked on

Web Server directory:


I have a hard time to enter a right path in a PHP file.

Path A:   /public_html / folderA /  folderAA /  fileA.php

Path B:  /public_html / FolderA / fileB.php

I need to include fileA.php in fileB.php.
 Is the following  command right?

include ( "/folderAA/ fileA.php ) ;



Thanks a lot!


Avatar of shobinsun
shobinsun
Flag of India image

Hi,

include ( "./folderAA/ fileA.php ) ;
Hi,

Also I think the FolderA  adn folderA are same.
ASKER CERTIFIED SOLUTION
Avatar of shobinsun
shobinsun
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of duta
duta

ASKER

Thank you very much for your kind, prompt tip.

Yes,  folderA in both paths are the same folder.

Still I experience the same problem.