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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaggs79
Forum Newbie
Posts: 5
Joined: Fri May 21, 2004 10:28 pm

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

Post 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
User avatar
launchcode
Forum Contributor
Posts: 401
Joined: Tue May 11, 2004 7:32 pm
Location: UK
Contact:

Post 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.
Post Reply