3 ms·
You can simplify even further and edit live PHP files right in your editor.
by xnx 3y ago
You can simplify even further and edit live PHP files right in your editor.
- BayesianDice 3y agoAnd then your text editor might leave a backup copy with filename "xyz.php~" which PHP won't interpret and Apache will happily serve to a curious user as plain text. So I've heard :-)
- toast0 3y ago<Files "*~"> Require all denied </Files> <Files "DEADJOE"> Require all denied </Files> (last one assuming you're using joe)
- kypro 3y agoI miss the days when this was normal for production websites. I wrote delete query once but forgot the where clause so I nuked the prod DB.
- shermantanktop 3y agoSometimes you can edit someone else’s live PHP files right on their server.
- Monotoko 3y agoWe've all been there