Reply to Re: Getting an included PHP script to to include a file in the same directory.
Posted by Toby Inkster on 01/11/07 11:29
boclair wrote:
> Just a suggestion. How about concating $_SERVER['HTTP_HOST'] and
> $_SERVER['SCRIPT_NAME'] to provide the absolute URL on whatever the
> server. Useful for header() re-directs.
I think Daz was referring to (server-side) paths, not (web-side) URLs.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact