[pmwiki-users] Passing variables from one page to another
Marc Cooper
gmane at auxbuss.com
Fri Jun 23 10:32:08 CDT 2006
Dominique Faure said...
> On 6/23/06, The Editor <editor at fast.st> wrote:
> [...]
> > Now here's my next question: I'm trying to modify the FAST Membership
> > Recipe so that in addition to creating a new member account, it will
> > pass the new member name and password to the next page for use in a
> > form which will do some additional processing and send me an email. I
> > tried changing the line below to the one after it, but it did not seem
> > to work. Any suggestions anyone?
> >
> > $redirect_page = $_REQUEST['redirect'];
> >
> > $redirect_page = $_REQUEST['redirect'] + '?myname=' + $newName +
> > '?mypass=' + $newPass;
> >
>
> BTW, propagating clear passwords on URL redirections is a *VERY BAD
> IDEA*. You should use POSTed form with hidden fields.
Or sessions.
--
Best,
Marc
More information about the pmwiki-users
mailing list