PDA

View Full Version : Running PHP scripts inside a Perl script... how?


Hunkorama417
10-31-2000, 01:44 AM
I have a Perl script that outputs stuff to the browser. I also have a PHP script that outputs stuff to the browser. What I'd like to do is run the PHP script from within my Perl script. How would I do this on a FutureQuest server?
------------------
Andrew
www.digi-FX.net (http://www.digi-FX.net)

Terra
10-31-2000, 01:57 AM
Ouch!!, that's 2 (or more) heavy forking calls to dynamic parsers in accomplishing one task...

Please do what you can to minimize the resource usage and combine the desired output into one call...

What you want to do, can be done - but I have no interest in telling you how to do so, due to the unnecessary overhead caused by such poor design...

Please rethink you final goal and find an optimized way to perform the task at hand...

--
Terra
--Harsh maybe, but an insight to the current trend in programming techniques that eat servers--
FutureQuest

Hunkorama417
10-31-2000, 11:12 AM
Guess I'll have to port my display routine to Perl... :(