Re: help on using 'request_uri' to make a front-end site
| From: | Shawn McKenzie | Date: | Mon, 17 Mar 2008 22:07:31 +0000 |
| Subject: | Re: help on using 'request_uri' to make a front-end site | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271695@lists.php.net to get a copy of this message | ||
Donn Ingle wrote:
> Shawn McKenzie wrote:
>> Use /index.php instead of index.php maybe...
> I assume you meant in the <a> tag. I tried that and the URL (when you
> mouse-over the link) becomes [http://localhost/index.php] which is not
> anywhere near where the files live.
>
> I must say I am rather confused by this situation, but I can fix it by
> always using absolute urls - which is a bit of a pain.
>
> \d
>
Does seem strange. Try:
<head>
<base href="http://localhost/~donn/blah/index.php"
/>
</head>
Then just use /home, /use1 etc... Might work.
-Shawn