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 > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php