http://qs321.pair.com?node_id=633738

sandy1028 has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

How to pass the form data to perl file. I am using linux platform and i have created the .pl file in same directory where i have the php file.... /var/....../directory/contact.php

<form method="get" action="mail_contact.pl" onsubmit="return validate( +)">
I am not able to get the values in mail_contact.pl

How to pass the data

use CGI; my $q= new CGI; my $name= $q->param('name'); print $name;
The contents of whole page is displayed in the browser.
Please help me with this