running a php script in /cgi from /web
| From: | Dale Walters | Date: | Sat, 19 Jul 2003 00:31:04 +0000 |
| Subject: | running a php script in /cgi from /web | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155864@lists.php.net to get a copy of this message | ||
Folks,
I've searched through the archives of the general mailing list and cannot find the answer to my question. My web hosting service requires ALL scripts run from /cgi. I've tried putting <?php ?> and <SCRIPT language=php SCRIPT> in my HTML files (located in /web/???) to run php commands but they aren't working. The web hosting "tech support" can only tell me that all php scripts must be located in /cgi; NO php code allowed in /web directory. So, how can I load an html file from /web, but within that file run a php script from /cgi?
Thanks, and I'm sorry if this IS available in the archives.
Dale