Re: [Phplib-users] sending the url of a protected page
Brought to you by:
nhruby,
richardarcher
From: Joe S. <jo...@be...> - 2002-11-07 13:02:59
|
On Thu, Nov 07, 2002 at 06:40:33PM +1100, Richard Archer wrote: > Hi, > > I'm having a brain-block here... must be the heat. > > I want to send via email a URL like: > https://www.example.com/blah.php?id=123 > > The blah.php script requires admin permissions. > > I want it to put up the interstitial login screen then show the > results of the "id=123" query. > Already a feature request: [ 608452 ] auth.inc - GET and POST variables http://sourceforge.net/tracker/index.php?func=detail&aid=608452&group_id=31885&atid=403614 > I can't work out how to do this, but I'm sure it must be possible! > How?? > One way to do this now is: 1. Save the GET variables to a session variable in auth_loginform(). 2. restore the GET variable from the session variable and clear it after validation in auth_validatelogin(). This will do exactly as needed. Joe > ...Richard. > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users |