Re: help on using 'request_uri' to make a front-end site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux