sandy1028 Posted August 20, 2007 Share Posted August 20, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/65781-form-data/ Share on other sites More sharing options...
sandy1028 Posted August 20, 2007 Author Share Posted August 20, 2007 Hi, The form data sould be sent from php page to perl file. <form action="a.pl"> But it is not working. Should I change the path to /cgi-bin/a.pl and copy the a.pl file to /var/www/cgi-bin Please help me with this Quote Link to comment https://forums.phpfreaks.com/topic/65781-form-data/#findComment-328742 Share on other sites More sharing options...
sandy1028 Posted August 21, 2007 Author Share Posted August 21, 2007 Hi, Is it necessary to put the .pl file in /var/www/cgi-bin directory. I have the php and perl file in same directory. Quote Link to comment https://forums.phpfreaks.com/topic/65781-form-data/#findComment-329536 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.