RE: Which button clicked?

2003-10-14 Thread Greg Smith
You should name your submit buttons. Everything sent is in name:value pairs. Without the name all you have is that the submit action took place. Greg Smith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 3:36 AM To: [EMAIL PROTECTE

Re: Form creation and parsing

2003-10-14 Thread paolo . libardi
Hi everyone, I've been able to write down a script (thanks to all your hints, and some other things I've found on the Net). Actually my Perl script works right when I use it alone, loading it in a browser window, the first time it displays the form, and after the user presses the Submit button, the

Re: not so grep on windows

2003-10-14 Thread frbn
hi, you can simulate the ls and the grep commands in perl with opendir/readdir and regexp # #!/usr/bin/perl -w my $count=0; my $file='none'; opendir(READDIR,'/tmp') or die "can't open dir : $!\n"; while ( defined($file = readdir(READDIR)) ) { if ($file =~ /\.dpx/){ $

Which button clicked?

2003-10-14 Thread perl
Can someone show me how to determine which button the user clicked? use CGI; $cgi->param did not contain the action parameter. I want to determine if the user click the LEFT or RIGHT button: ... ... thanks -rkl - eMail solutions by http://www.swanma