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 The Doctor on 01/10/06 19:30

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?

> > Similarly we want to hide a js script.
>
> You want to disable direct requests to the javascript file? I can't
> think of a way that couldn't be trivially circumvented. You're probably
> better off obfuscating the code.
>

What about using an iframe approach?

> David
> --
> David Grant
> http://www.grant.org.uk/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

--
Member - Liberal International
This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
Canada : Consider carefully whom to vote for on 23 Jan 2006, I choose Liberal!

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

 

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

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