Re: PHP and CGI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tedd,

In your .htacess file add this:

# handler for phpsuexec. -- makes following prefixes considered for php
<FilesMatch "\.(htm|html|pl)$">
SetHandler application/x-httpd-php
</FilesMatch>


Thanks for the code. I placed it in the .htaccess file for the output templates, but unfortunately it didn't work. It just prints out part of the PHP code on the template:

/ '; for ($year = date("Y") ; $year <= date("Y") + 9 ; $year++) { echo "$year\n"; } echo ''; ?>

Thanks also to everyone else who responded as well. I'm off to find a PHP shopping cart!

Frank

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux