I've just finished my first php script that needs to be embedded in a file with a .html extension. The php script is in a file referenced with a php require command in the .html file.
The script does not run when the web page is loaded unless I change the file extension to .php. I believe there are directives that can be put into my .htaccess file to should cause files with a .html extension to be parsed for php, I've tried the following directives I found on the web and none of them work: AddHandler x-httpd-php .html .htm AddHandler php-script .php .html .htm AddHandler php5-script .php .html .htm AddType application/x-httpd-php .htm AddType application/x-httpd-php .html The last two of the above caused any url for a page on my website to start a download (using Chrome). Anyone have the correct directive? Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
