Re: Return current page and variables: $PHP_SELF dose not do it.
Posted by Henrik Hansen on 06/08/06 12:17
"Seth" <seth7f@gmail.com> writes:
> If my current page is:
> www.domainname.com/index.php?menu=man&pageid=mfrs/register
> $PHP_SELF returns:
> index.php
> What function can I use to return:
> index.php?menu=man&pageid=mfrs/register
I think you want $_SERVER["PHP_SELF"] . $_SERVER["QUERY_STRING"]