Include path
| From: | PHP Gen | Date: | Fri, 23 Jul 2004 19:04:27 +0000 |
| Subject: | Include path | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191678@lists.php.net to get a copy of this message | ||
Hello,
I am a bit confused :-(, this is my server path:
/home/sites/site80/web/articles/myfile.php
from "myfile.php" I want to include "header.php" which
is located in:
/home/sites/site80/web/templates/
/*
eg:
/home/sites/site80/web/articles/myfile.php
/home/sites/site80/web/templates/header.php
*/
After searching on google I tried using:
$_SERVER["PATH_TRANSLATED"];
but I think I am using it wrong coz its not working..
Please help.
Thanks,
Mag
=====
------
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/