By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,215 Members | 1,005 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,215 IT Pros & Developers. It's quick & easy.

how to call perl script by php

P: 1
I hv a perl script which takes three inputs..and i want to call this script by a php to do so..please help me out...i have to create a web interface
Aug 28 '08 #1
Share this Question
Share on Google+
1 Reply

P: 89
If you are running PHP in a Linux based environment you could use the command shell_exec() to execute the PERL file. Something like:
$output = shell_exec("./ arg1 arg2 arg3");
echo $output;
Aug 28 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.