Running a Non-PHP script from PHP
Scripts other than php like perl script can be run from a php script. The following code shows how to run a perl script from php
<?php
$result = exec("/www/yourdomain/cgi-bin/blabla.pl", $out1);
array_shift( $out1 );
array_shift( $out1 );
$out2 = join( "n", $out1 );
print($out2);
?>
