Articles

Session Caching V1.0

When working with dynamic database driven websites speed can often be a problem when having to make multiple calls to large tables. One way to help speed up database driven websites is by caching data. more »


Cross-Domain request with jQuery

How to make a cross-domain AJAX request using jQuery and PHP

On a recent project I was working on I found a need to create a simple JavaScript script that inserts a form onto a page. The form was stored on an external domain and server. The task seemed simple enough, just a basic AJAX call to load the form and then another to submit it.

However due to browser security settings you cannot call an AJAX request from one domain to another in most circumstances. Therefore I created this simple jQuery work around. Please note this is not intended to be a way to develop an XSS attack!
more »


« Page 1 »