Hi Sven,
Sorry, I thought you knew that one. But how to proceed if you don't want those ugly/insecure params in your location bar ? Regs David ------------ > > Ok, i found out how to pass a few arguments to the other script: > > <a > href="collectformdata.cgi?action=fetch&f_name=$f_name&f_surname=$f_surname" > > Update> > The only problem I have left is that the variables are not passed on. > Once I put names in there, it works just fine, but I do need those > variables to work..... > if I would get any tips on this I'd really appreciate it.... > > Sven > On Tuesday, May 14, 2002, at 04:36 PM, David vd Geer Inhuur tbv IPlib > wrote: > > > > > Hi All, > > > > I am currently having the same problems as Sven. I tried to get some > > info on it as > > wel, but it seems a difficult one. > > I have made a simple example to explain it a little : > > > > HTML-CODE: > > --- > > <html> > > <form method=post action="/cgi-bin/david/1.cgi"> > > <table> > > > > <input type=hidden name=hide1 value="secure"> > > <input type=hidden name=hide2 value="very secure"> > > <tr><td>please enter your First name </td><td><input type=text > > name=userid></td></tr> > > <tr><td>Please enter your Last name </td><td><input type=password > > name=pw></td></tr> > > <tr><td><a href=/cgi-bin/david/1.cgi>Please try this one</a></td></tr> > > <tr><td><input type=submit></td></tr> > > > > </table></form> > > </html> > > -------------------------------------- > > > > Perl-script: > > --- > > #!/user/cadiclab/bin/perl > > > > use CGI qw(:standard); > > > > $first = param('userid'); > > $last = param('pw'); > > $hide1 = param('hide1'); > > $hide2 = param('hide2'); > > > > print header, > > start_html(-BGCOLOR=>"#99cccc"), > > start_form; > > > > print "Hallo userid: $first with password: $last <br><br>"; > > print "Hidden fields are; <br><br>Field1: $hide1 <br>Field2: $hide2 > > <br>"; > > > > print end_form, > > hr; > > ------------------------------------------ > > > > Ones I hit the submit button the cgi-script does it all for me. > > He tells me who I am and he prints the hidden fields. > > > > Ones I hit the <a href> the params are not read within my cgi-script ? > > Not the input type=text and not the input type=hidden. > > > > Is there a way to get this working ? > > > > Any other solutions to a more secure way of solving this are welcome > > too ! > > > > > > P.S.: I need the links to browse through directory's and do stuff with > > it. > > A submit button instead of a <a href> does not look very fancy :) > > > > > > Best Regards, > > > > David van der Geer > > > >> > >> Hi! > >> > >> I am using one script to secure the members area and offer several > >> search functions for am mysql database. another script offers the > >> possibility to update data in this database. Botth scripts require the > >> user to ennter name, lastname and password. > >> Now I want to enable the user to get straight to the update function > >> without having to enter name, lastname and password (he already entered > >> one time) again. > >> > >> How can I pass those already collected values on to another script > >> using > >> a link (a href)? > >> Or how can i do that at all? > >> > >> Thanks for your help, > >> > >> Sven > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]