in reply to Re: Passing a form parm and a url reference to a different script
in thread Passing a form parm and a url reference to a different script

It makes sense that the second script would be able to get the user id from the remote_user() since it is handled by the server. However could you please explain what a less dangerous way to pass 2 variables to a different script would be. I am not understanding how the hidden form element works.
  • Comment on Re: Re: Passing a form parm and a url reference to a different script

Replies are listed 'Best First'.
Re: Re: Re: Passing a form parm and a url reference to a different script
by TomK32 (Monk) on Dec 23, 2001 at 13:21 UTC
    hidden form elements are simply not shown to the user although he can open the source and find them. You can use them like nomal <input>-field except that their type=hidden.
    The normal and less dangerous way is to save the data you've got (maybe into a database (mark the entry it temporary) or a temporary file) and reread the data in the second script.

    -- package Lizard::King; sub can { do { 'anything'} };
    TomK32 - just a geek trying to change the world