Show .htaccess samples to block access to certain files you don’t want people to be able to access.
Shows a few useful function to get the path to the plugins directory in wordpress.
The execute() method seems to work fine when executing a stored procedure, but a look in the database shows no data was added.
Shows how to check a variable is defined and assigned to in PHP.
PHP sending an empty page to the browser instead of an error message is not particularly helpful when your debugging an application. Here’s how to fix it (works on Linux Mint and probably Ubuntu).
If your .htaccess file doesn’t appear to be working it’s worth checking it is installed.
Run the following commands to install PHP5 and MySQL in Ubuntu.
Took me an age to get this working but this script will allow you to run RDP on a server running Ubuntu Server on your network without having to log in (so you don’t have to connect monitors and keyboards everytime you want to restart).