Tutorials
PHP and Web Development
Simple PHP tree menu
Useful as a basic example of employing recursion in PHP for a neat solution.
Using JSON with AJAX
Basic example of using JSON with AJAX.
How to create a splash page
Using cookies, javascript and PHP for a robust splash page solution
How to create a basic AJAX dropdown
Using AJAX to autofill a dropdown field with results from a database based on user input.
Using recursion on heirarchical data
Taking an array of heirarchical data and translating it into another format. A basic study of recursion.
Restrict visitors using IP address
Using IP addresses to filter content etc.
Non capturing groups in Perl regular expressions
How to exempt a grouping form being captured in a regex.
How to install the Blackberry emulator on Windows
Installing the blackberry emulator in order to test mobile website versions.
Workflow
Deploying websites using Git
Using a bare git repository to easily deploy website changes.
Compare versions of a file in Git
Using git diff tool.
Security
XSS Exploits
Brief descriptions of common XSS techniques and how to prevent them.
HTTP Splitting
Cache poisoning and HTTP splitting attacks.
Systems Administration
How to clone NTFS volumes
Using NTFSClone to clone NTFS volumes fast.
How to resize NTFS volumes
Shrink and expand NTFS volumes easily.
Dual boot Ubuntu and Windows
How to set up a dual boot environment. Important note: I lost data a couple of times using a dual boot system. Once because Grub2 crapped its pants. So now I just recommend people get a Mac.
Pinking [oy]
How to ping [oy] (special characters) with 32 bytes of data.
SEO
What do search engine spiders see
A technique to simulate a search engine spider crawling your website.
301 redirects
Simple techniques to employ a 301 redirect using .htaccess and Apache mod_rewrite
When to use 301 vs 302 redirects
SEO implications of using either 301 or 302 header redirects.






for tips on PHP and web development