Posted by Lars Eighner on 09/25/07 11:20
In our last episode, <2007092500072816807-PostInGroups@wherevercom>, the
lovely and talented Ron broadcast on comp.lang.php:
> My solution is to make the link the full path with http://mysite.com
> and so on so regardless of where the header is called from the link is
> good. I always thought that relative paths are used within a site and
> full paths to link outside. My solution will work but I think there is
> a better way.
There is. Write a php function to calculate relative paths.
--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 483 days to go.
What do you do when you're debranded?
Navigation:
[Reply to this message]
|