I have a mailform that does some PHP_SELF validation. When you fill out the form, it passes the form data to itself and checks to make sure that certain fields are filled out.
Assuming the data is good, I then need to pass this data to a Perlscript. Without the PHP form validation, I could easily just put the name of the Perlscript into the "action" parameter of the form.
Yes, I know I could do the form validation in JavaScript instead. This is not an option. Yes, I know I could rewrite the Perlscript so it performs the validation instead of the PHP page. I would prefer not to have to do this.
Is there any way to take the data that is in a PHP form and pass it to a Perlscript?