[pmwiki-users] Passing variables from one page to another

Dominique Faure dominique.faure at gmail.com
Fri Jun 23 09:50:05 CDT 2006


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.

Regards,
Dom




More information about the pmwiki-users mailing list