Thread: PHP Question
View Single Post
Old 09-20-2005, 10:01 PM  
aico
Moo Moo Cow
 
Join Date: Mar 2004
Location: Washington State
Posts: 14,748
PHP Question

I changed a .shtml page into a .php page so I could include some PHP files, etc.

On the .shtml page I was calling out a cgi script to be run like this:
<!--#exec cgi="../cgi-bin/script.cgi" -->

But now that the page is a .php it's not running. How to I call this out with php?

I tried:
<?php
include("../cgi-bin/script.cgi");
?>

But that didn't work...

Thanks!
aico is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote