>>      For example, on a file called info.html, i want to have some PHP
>> code that actually gets executed.
>
>In your httpd.conf add the line
>
>AddType application/x-httpd-php html

Better to do this in an .htaccess file, so you don't incur PHP processing
overhead on the entire server (if there are others using it).

http://httpd.apache.org/docs/configuring.html#htaccess

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to