Tag Archives: PHP
Force SSL by loading the same page via HTTPS
Just a simple one, I place this in a common file, and then call it at the top of each page that I require to be secured by SSL.
MySQL string escaping in PHP
Simple function to prepare user inputted data for inserting into a MySQL database. It simply checks if stripslashes() should be called, and then escapes the string. Basic, but handy.
The most useful PHP function you’ll ever use!
This is the first thing I add to any PHP based project and I couldn’t live without it.. Most people will probably understand and appreciate what this does, but for those that don’t, it simply displays the contents of an … Continue reading


Stalk me...