1st, is there a function to return the current file URL you are viewing?
2nd, is there any way I can make an include with (I hope this the proper term) absolute path? EG: include("/someFile.php");
[SOLVED] need help with URLs
Moderator: General Moderators
[SOLVED] need help with URLs
Last edited by LegoBoy on Tue Aug 03, 2004 2:31 pm, edited 1 time in total.
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
1) Yes.
2) Yes you do it as your doing. Just play around with trying to include files and look at your results.
Code: Select all
$_SERVER['PATH_TRANSLATED'];