It isn't terribly hard to fix -- just use $_SERVER["DOCUMENT_ROOT"] in the 
links that need them.

J


Miguel Cruz wrote:

> On Wed, 1 May 2002, J Smith wrote:
>> Even better would be to write the URL as
>> 
>> http://www.example.com/charts.php/wk0001-etc
>> 
>> and look in $_SERVER["PATH_INFO"]. This way, you can do without the "?"
>> and have a search engine-friendly URL.
> 
> ...and all your relative URLs get broken so you have to either have an
> implementation-specific BASE HREF or use (ugh) absolute URLs.
> 
> miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to