Page 1 of 1

help on how to execute a perl script on server from client

Posted: Fri May 21, 2004 10:36 pm
by jaggs79
i have a small php programming question. how can i ececute a perl script on my server from a web based application useing php. i ahve to access a file of data generated by the script and use it for processing and displaying on my web page. i will be thankful if anybody gives me a simpler and efficient way of doing this.
thanks in advance

Posted: Sat May 22, 2004 5:39 am
by launchcode
Give the Perl script execute permissions and use exec() from PHP to run it, the output can be redirected back to your script or ignored.