hai

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

hai

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
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Code: Select all

system("perl my_perl_script.pl");
exec("perl my_perl_script.pl");
jaggs79
Forum Newbie
Posts: 5
Joined: Fri May 21, 2004 10:28 pm

Post by jaggs79 »

can u give me more help regarding the usage of this function, do i have to give a path where the script exists?
User avatar
maqmus
Forum Commoner
Posts: 30
Joined: Mon Mar 08, 2004 1:10 pm

Post by maqmus »

You'll find more info in exec and system
jaggs79
Forum Newbie
Posts: 5
Joined: Fri May 21, 2004 10:28 pm

thanks

Post by jaggs79 »

thanks for the source of info ,i will probe into the syntax
thanks once again
Post Reply