Buy me a coffee
Spammers!
If you are going to put nonsense comments on my articles at least have the decency to click one of these adverts while you are here.
Even if you are a regular visitor you click a couple of ads while you are here - you might find something you want.
You May Also Like…
Cloud
accessibility block browser cache chrome chunk cms concrete5 CSS curl database date error file firefox form get href ie image input iphone javascript JQuery link magento MODx myqsl MySQL php post profile Revolution select Server session snippet spellcheck spelling table textarea tinymce w3c wordpress xmlInfo
Yes, the images are ambiguous;
Yes, they came from Google images;
No, I didn't get permission to use them*;
I know Magento called isn't Magneto;
And...
Why do spammers who hit this site do it with such a bizarre use of the English language?;
Server Archive
-
How to Fix Fatal error: Call to undefined function: getallheaders()
Posted on 12/12/2011 | No CommentsIf your script cant find the function "getallheaders()" php might not be installed as Apache-module – saying that I have... -
Rename all files in directory with php
Posted on 10/03/2011 | 1 CommentA quick way to rename files in a directory using php. Copied from http://phpweby.com/downloads/filerenamer /**************************************************************************** * DO NOT REMOVE *... -
Cache fonts when using @font-face using .htaccess
Posted on 02/03/2011 | 1 CommentTo cache fonts when using local @font-face in the css add the following to the .htaccess file <FilesMatch "\.(eot|woff|ttf|svg)$"> Header... -
mod_rewrite on a Zeus server
Posted on 09/01/2011 | No CommentsToday I switched from 1and1 to NamesCo and forgot I was going from Apache to Zeus! Modwrite doesn't behave the... -
Empty a directory using php
Posted on 22/03/2010 | 1 CommentEmpty a folder in php us this (used on this site to empty the demo directories): function empty_folder($folder, $debug =... -
MySQL escape String (mysql_real_escape_string)
Posted on 09/02/2010 | No CommentsEscapes special characters in the unescaped_string, taking into account the current character set of the connection so that it is... -
Force SSL on an Apache server
Posted on 26/01/2010 | No Comments# Force HTTPS RewriteCond %{SERVER_PROTOCOL} !HTTPS RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [R=301,L,QSA] In MODx add this in before #...






![Force SSL on an Apache server # Force HTTPS RewriteCond %{SERVER_PROTOCOL} !HTTPS RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [R=301,L,QSA] In MODx add this in before #...](http://www.unchi.co.uk/wp-content/uploads/2010/01/Apache+3-115x115.gif)