Scott,
Don't understand what you are trying to do, can you explain some more.
Whats the point in having anything in the form if its going to be changed by
something hard coded to something different later? 

you could just use:

my $mycost = 50;

can thats quicker than creating a param with the CGI module.

Matt


-----Original Message-----
From: Purcell, Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 8:32 PM
To: '[EMAIL PROTECTED]'
Subject: CGI.pm Q


Hello,
I have some hidden prices that must be hidden in a cgi page. but even if I
use the hidden form element people can source them and check out the prices.
And that would be bad.
I though I could set a param, but It doesn't seem to work.

I wanted and I am trying the following:

<input type=\"hidden\" name=\"mycost\" value=\"0\">

And then later hard set it with something like this
param(-name=>'mycost',-value=\"50.00\");
And then when the server gets it, I would grab out the 50, and anyone
looking at the source would see the 0?

Is that the way to try it, or does that not work.?
I don't want to write a quick file and pick it up after the submit, because
I need as much speed as I can get.


Thanks
Scott



Scott Purcell

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to