Detecting an Ajax Request with PHP

Here’s a quick piece of code that i find useful to check if a request that comes to a PHP page was made via an Ajax call or a simple form post. This method uses the $_SERVER['HTTP_X_REQUESTED_WITH'] request to determine …
Continue reading

Detecting an Ajax Request with PHP

jQuery Form Highlighting

Carrying on the theme from yesterday with the jQuery & PHP username availability checker, i’ve got a quick tip to improve the user experience, so the user knows exactly where they are in the filling out complex forms. We could …
Continue reading

jQuery Form Highlighting

jQuery PHP & MySQL Username Availability Checker

I was reading Nettuts.com this week and saw the post by Matt Vickers on checking the availability of a username with Mootools. I tend not to use Mootools so i thought I’d replicate the technique using jQuery. The code degrades …
Continue reading

jQuery PHP & MySQL Username Availability Checker

Using web thumbs to enhance user experience

Over the past few years I’ve had the opportunity to work on a few personal projects. This allowed me to experiment more with techniques that I wouldn’t have normally used on client sites. During this time I was building a …
Continue reading

Using web thumbs to enhance user experience

Remove the dotted border around links in Firefox

Here’s a quick CSS tip. Firefox likes to put a dotted border around any links that you click as shown below, but there’s an easy way to fix it simply add the code below to your ‘a tag’ style either …
Continue reading

Remove the dotted border around links in Firefox

Experimental jQuery Tooltips

I’ve never written a jQuery tooltip script before so i thought i’d give it a go and write my own. Its very much in the experimental stage but i thought i’d open it up to see what the community has …
Continue reading

Experimental jQuery Tooltips

Plagiarism and how to stop image hotlinking with .htaccess

My last blog post was on how to make an autosuggest tool with jQuery, no sooner had i pressed the publish button did i find my complete blog post on guidesigner.net I had spent time and effort writing that tutorial …
Continue reading

Plagiarism and how to stop image hotlinking with .htaccess