Displaying PHP Files as Text on Server
Posted by on Sat, Mar 12 2011 00:36:00
I attached a php file for my last post but didn't want to have to rename it to a .txt file to prevent apache from serving it as php. The solution? Edit the .htaccess file in my uploads folder:
RemoveHandler php
RemoveType php