Hi:
Im trying to make a generic Form Handler script, (so the script will not know the field names).
I downloaded many free readily available Form Handler scripts just to see how they handle the collection of "names" and "values" from the HTML form.
All of them have a parsing routine.
But my script doesnt work with a parsing routine since Im using:
use CGI
$q = new CGI;
So basically if I wanted to use file names I would do this:
$Whatever = $q->param('Whatever');
But the thing is that the script is supposed to be generic.. in other words handle any number of field names not knowing the field name previuosly.
I found a small snippet of code to get any info coming to a script
while ($line = <STDIN>) { chomp $line; #do whatever must be done }
But I understand this is used to received data from a file.
Is there a comparable snippet of code to received any data from a form without a parsing routine..??
In reply to STDIN ..??? by virtualweb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |