sandy1028 Posted August 16, 2007 Share Posted August 16, 2007 Hi, How to pass the variables from php to perl file? Is it passed using <form> I need to pass the data from front end and send mail from perl file. Please help me with this Quote Link to comment https://forums.phpfreaks.com/topic/65188-how-to-pass-variables/ Share on other sites More sharing options...
tibberous Posted August 16, 2007 Share Posted August 16, 2007 Done with get and post, just like in php. You can use the form tag, or you can put the variables into the url. Quote Link to comment https://forums.phpfreaks.com/topic/65188-how-to-pass-variables/#findComment-325492 Share on other sites More sharing options...
sandy1028 Posted August 16, 2007 Author Share Posted August 16, 2007 Hi, How to give the path in form tag using <form action=""> I am using linux platform. Any example.... To send the variables from url Quote Link to comment https://forums.phpfreaks.com/topic/65188-how-to-pass-variables/#findComment-325498 Share on other sites More sharing options...
tibberous Posted August 16, 2007 Share Posted August 16, 2007 <form action="perlscript.cgi" method="post"> <input type='text' value='' name='address'> <input type='submit' value='Send Email'> </form> Quote Link to comment https://forums.phpfreaks.com/topic/65188-how-to-pass-variables/#findComment-325516 Share on other sites More sharing options...
sandy1028 Posted August 16, 2007 Author Share Posted August 16, 2007 Hi, No need of giving full path like /usr/.... The extension should be .pl or cgi Quote Link to comment https://forums.phpfreaks.com/topic/65188-how-to-pass-variables/#findComment-325527 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.