Re: store current page name in variable?
| From: | Tom | Date: | Wed, 17 Jan 2001 11:18:06 +0000 |
| Subject: | Re: store current page name in variable? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5069@lists.php.net to get a copy of this message | ||
$variable_name=$PATH_INFO
Depending on how you handle it next, you may want to stripslashes() or
URL_encode() it
Tom
"g_braakman@hetnet.nl" wrote:
> Hi all,
>
> I'm working on a little code snippet that invites a person to mail the url
> of the current page to a friend. I once read a javascript article that
> explained how to store the pare url in a variable. I can't find the article.
> How do you store the current URL in a variable using PHP? Does that system
> variable point to the page or can it also point to a frame within a page?
>
> Thanks,
>
> Gert
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net