I noticed that Message-ID: <Hs********@bath.ac.uk> from Tim Tyler
contained the following:
>$_SERVER['HTTP_HOST'].$PHP_SELF
$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] surely?
That returns the address of the URL of the page that originally
called the script. The script may be in a different file
with a different URL.
OK, gotcha.
It's just that I've been working with pages that have query strings and
$_SERVER['PHP_SELF'] doesn't show them.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs
http://www.ckdog.co.uk/rfdmaker/