Re: Executing a Perl/CGI program from PHP

From: Date: Mon, 16 Dec 2002 02:06:19 +0000
Subject: Re: Executing a Perl/CGI program from PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128361@lists.php.net to get a copy of this message
You're trying to mix two different things. SSI (Server Side Includes) and PHP. The page you're calling gets parsed ONLY by PHP. So echoing #exec won't work. Look at the virtual() function ~~> http://php.net/virtual -js On Sun, 15 Dec 2002 14:10:17 -0800 Troy May wrote: > Hello, > > I have a logging program I wrote in Perl that writes basic info to a MySQL > database. I can't get it working from within PHP. I've tried: > > print "<!--#exec cgi='vislog.cgi'-->"; > echo ("<!--#exec cgi='vislog.cgi'-->"); > include("vislog.cgi"); > > Nothing works. What am I missing? > > Thanks, > Troy > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

« previous php.general (#128361) next »