You are here: Re: [PHP] replacing .shtml #exec cgi with php calls « PHP « IT news, forums, messages
Re: [PHP] replacing .shtml #exec cgi with php calls

Posted by John Nichel on 01/10/06 19:44

The Doctor wrote:
> On Tue, Jan 10, 2006 at 04:57:51PM +0000, David Grant wrote:
>
>>Dr.
>>
>>The Doctor wrote:
>>
>>><!--#exec cgi="/cgi-bin/script.pl" --> and wish to replace it with a php call.
>>
>>php.net/exec
>>
>
>
> I did try <?php exec("path/to/cgi-bin/script.pl",$output); ?>
>
> And got nothing.
>
> Any additional pointers?

http://us2.php.net/shellexec

>>>Similarly we want to hide a js script.

You can't. You can call it from an external file, but it will still be
accessible to anyone who can copy/paste a URL.

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
jnichel@dotcomholdingsofbuffalo.com

 

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

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