You are here: Re: Address bar as session « PHP SQL « IT news, forums, messages
Re: Address bar as session

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация