Re: replacing .shtml #exec cgi with php calls
| From: | John Nichel | Date: | Tue, 10 Jan 2006 17:44:52 +0000 |
| Subject: | Re: replacing .shtml #exec cgi with php calls | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228432@lists.php.net to get a copy of this message | ||
The Doctor wrote:
On Tue, Jan 10, 2006 at 04:57:51PM +0000, David Grant wrote:http://us2.php.net/shellexecDr. The Doctor wrote:I did try <?php exec("path/to/cgi-bin/script.pl",$output); ?> And got nothing. Any additional pointers?<!--#exec cgi="/cgi-bin/script.pl" --> and wish to replace it with a php call.php.net/exec
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.comSimilarly we want to hide a js script.