How to include file from another directory

psYko

New Member
In the root (www) I have two folders.In the first folder, "folder1", I put a file called register.php.In the next folder, "folder2", I put files called header.php and footer.php.I need to include the header and footer files from folder2 in the register.php file.How can i do this? I tried to use this include ../folder2/header.php
..but it does not work
 
Back
Top