Mixing php with perl
Moderator: General Moderators
Mixing php with perl
How can I send data processed by a perl script to a php script?
Re: Mixing php with perl
What exactly do you mean?sal wrote:How can I send data processed by a perl script to a php script?
I didn't know how specific I needed to be so I kept it general.
I have a perl application that I made a year ago for a classified site. It doesn't use a database server like MySql and now I want to enhance the application and use PHP/MySQL. What I am going to do is keep certain perl parts because they work very well. So, if data has been entered in a form and parsed and cleaned by a perl subroutine what's the easiest way to get that data passed to a php script?
I have a perl application that I made a year ago for a classified site. It doesn't use a database server like MySql and now I want to enhance the application and use PHP/MySQL. What I am going to do is keep certain perl parts because they work very well. So, if data has been entered in a form and parsed and cleaned by a perl subroutine what's the easiest way to get that data passed to a php script?
Use one of the program execution functions ( http://php.net/exec ).
There's also http://phperl.sourceforge.net but i'm not sure you want to go there
There's also http://phperl.sourceforge.net but i'm not sure you want to go there