faqts : Computers : Programming : Languages : PHP : Common Problems : Files

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

32 of 62 people (52%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

I want to call a Perl script from within a PHP file. How?

Mar 26th, 2002 10:19
Narendra Jain, RIc Mitchell,


The command to call / use a perl script within PHP is to use the command
'virtual'. But before this, please ensure that the Web Server supports
running both the scripts. 
If you do not see the script running, right click on the web page
generated and click on 'view source'. If you see the virtual command
still there, then it means that your web server could not run the perl
script. Ensure that the file being used in virtual is recognized as
being executable by cgi-bin.