|
Posted by qwert on 09/18/05 12:26
Neil Trigger schrieb:
> I've written a membership system for my site, but would like the re-direct
> script to write the contents of the address bar to a session so that when
> the user is re-directed, they can simply login, then click on a button to
> take them back to where they were.
>
> I've tried several options, but
>
> strrchr($_SERVER['PHP_SELF'], '/')
>
> does not give enough code to make it useable.
>
> Any ideas?
>
> Many thanks.
>
you could use $_SERVER['referer'] on the login or the first redirect
page ...
Navigation:
[Reply to this message]
|