Mounting HTML folder in Centos VirtualBox
I have a particular Linux set up I need to test something on, but I use a Mac, so I…
Setting up CentOS with no X Window Manager
For a nice VM I needed a Linux server, but no need for a GUI, so went for CentOS. Installed…
MSSQL IF (multiple fields > one value)
In MySQL I use IF(value,then,else) quite often, but in a new project I am doing I need to do the…
MySQL Administration (Remote Access)
So, once you’re all set up and running, you may want to give users access from the outside world. This…
Git, trying to ignore a database config
If you are trying to ignore a file and git is mucking you about, it may be because the file…
CSS not loading, Firebug states ‘Aborted’
Had some CSS that worked in Chrome, but not Firefox or Opera. Firebug reported this: Turns…
Stop directory browsing/listing with htaccess
Using Apache you can stop directory listing with this line in your .htaccess Options -Indexes Basically it says stop access…
Chrome Conditional CSS
Before you say it, I know there are better ways of streamlining your CSS based on the browser, but this…
CodeIgniter sample .htaccess
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [PT,L]
PHP exec() not returning output
I found that a script I was running was calling some linux functions using exec() but they weren’t always successful…