You are here: Re: Executing Perl Script with PHP « All PHP « IT news, forums, messages
Re: Executing Perl Script with PHP

Posted by J.O. Aho on 07/28/07 07:17

wombat wrote:
> In article <kpmdnV4xP94xFTfbnZ2dnUVZ_sytnZ2d@wavecable.com>,

>> http://us.php.net/function.exec
>> http://us.php.net/function.shell_exec
>> http://www.wellho.net/mouth/493_Running-a-Perl-script-within-a-PHP-page.html
>>
>>
>>
>> To execute perl scripts from inside PHP-scripted pages, use the
>> following code:
>>
>> <?php virtual ("../path/to/script.cgi"); ?>
>
> Yea saw all that with my own surfing. Nothing seems to work. That's why
> I decided to poke around here and see if anybody could help.

virtual requires that you use apache and configured to execute perl scripts.
exec/shell_exec can always be used to tell the perl binary to execute script.

If you use exec/shell_exec and it don't still not work, then it's most likely
not a perl script.

--

//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация