is there any problem with running html as php via htaccess? such as security or best practices ect. was doing this to make urls cleaner.
## run the following file types as php
Addhandler application/x-httpd-php .html .htm .rss .xml
well ideally id like to have my urls like
localhost/blog/posts/view.php?id=64
to be
localhost/projects/bittyPHP/bittyphp/posts/view/id-64
but having trouble accomplishing that without routing everything to one file and having php run determine the paths. I guess this is my real question