Page 1 of 1

hai

Posted: Fri May 21, 2004 10:35 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 8:44 am
by kettle_drum

Code: Select all

system("perl my_perl_script.pl");
exec("perl my_perl_script.pl");

Posted: Sun May 23, 2004 2:43 pm
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?

Posted: Mon May 24, 2004 1:34 am
by maqmus
You'll find more info in exec and system

thanks

Posted: Mon May 24, 2004 10:26 am
by jaggs79
thanks for the source of info ,i will probe into the syntax
thanks once again