Forum Moderators: coopster & phranque

Message Too Old, No Replies

.htaccess -PHP and CGI parsing

         

toolman

6:19 pm on Feb 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there a way to make these two get along? It doesn't work the way I've got it written here.

AddHandler server-parsed .html
AddType application/x-httpd-php .php3 .phtml .php .php4 .html .htm

Air

9:27 pm on Feb 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>Is there a way to make these two get along?

Not really toolman, I haven't found a good way to make them co-exist other than to stick to .htm for server parsed, and .html for php.

toolman

11:39 pm on Feb 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there any way to run a cgi script from a php parsed page...like a traxis counter script ssi?

Air

12:48 am on Feb 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know if the counter will return reliable results in this case but you can run another program from PHP by using exec [php.net]