Re: on using 'request_uri' to make a front-end site
Shawn McKenzie wrote:
> Does seem strange. ÂTry:
> <head>
> <base href="http://localhost/~donn/blah/index.php" />
> </head>
> Then just use /home, /use1 etc... ÂMight work.
Right, I'll give it a go. It's not much different from wiring-in a php var
naming the base with {$base}/use1 being the form.
The thing that would here is if I could get a reliable way to extract
the working 'path' (from an http:// pov) from the $_SERVER array somehow.
Each of them gives a result tantalizingly close to the base, but they get
it wrong in various ways.
Well, thanks for your .
\d
|