Joshua Alexander wrote: > So I was trying to get the server to treat shtml files as both > server-parsed and as php scripts. Not working too well. ;) > > Anyone have any ideas?
We'd need to know more about your setup, but if you're using Apache, you should be able to edit your httpd.conf file to include a PHP handler for files ending in .shtml. Just look for the directive for files ending in .php and add the same thing for .shtml. Then, both will be parsed by PHP first. Of course, by doing so you eliminate the purpose of the .shtml extension, which is supposed to indicate static content. I'm not sure if that concerns you. Happy hacking. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php