Re: Variable Help.
| From: | J Smith | Date: | Wed, 01 May 2002 22:31:14 +0000 |
| Subject: | Re: Variable Help. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95617@lists.php.net to get a copy of this message | ||
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