Tutorials for photoshop, javascript, php, html, css, flash, and more!

tutorials for photoshop, javascript, and php
   The Machine | Search for a cog | Submit a cog

Database abstraction layers provide an important role in modern web applications built with PHP. They allow you to easily switch your back end database server by changing just a few lines of code in your application.
The Zend Framework provides a powerful database abstraction layer in the form of the Zend_Db component. This tutorial will be [...]


Well, before I get into details about how to prevent CSRF, lets explain what it is exactly. Cross Site Request Forgery (also known as XSRF, CSRF, and Cross Site Reference Forgery) works by exploiting the trust that a site has for the user. Site tasks are usually linked to specific urls (Example: http://site/stocks?buy=100&stock=ebay) allowing specific [...]


Need a contact form for your site? This tutorial shows you how to create one.
To view:
http://www.webguideuk.com/tutorials/php/contact-form


This tutorial describes how to setup a site using the new up and coming MODx CMS and the YAML CSS framework, it’s quick and easy if you have some markup skills!
To view:
http://www.prodevtips.com/2008/03/16/modx-and-yaml-from-zero-to-finished-site/




The first part in a long series describing how to use the PHP Zend Framework and the PHP Smarty templating engine to create a combined CMS and Community where people will have their own blogs and photo galleries. At the end of the series there is a download link to the source code.
To view this [...]


My current CMS experience spans TYPO3, Joomla, Drupal, XOOPS and MODx and I’ve started to feel qualified enough to offer some advice regarding these solutions. There are many CMSs out there, both free and commercial and doing research with the intention of making an informed decision can be very, very time consuming. I hope this [...]


Anyone who owns a website knows that stats are important. If you’re like me you like to know how many visitors your site is getting and what kind of bandwidth your using. With AWStats you can get comprehensive reports of your user statistics but I don’t want to have to go through my Control Panel [...]




A very large and well written guide to php. Learn: Basic Syntax, Special Characters and Quotes, Basic Programming, Enter SQL, More Programming, And last but not least Errors, and what they mean.
To view: http://downthe.net/forums/viewtopic.php?f=48&t=839


This tutorial takes you through a PHP & MySQL powered template engine. The engine allows you to seperate code and design entirely.
http://www.mished.co.uk/showthread.php?p=15


There are several PHP scripts and classes to process PayPal payments using their native IPN (Internet payment notification) feature. Because the whole process is based on the data you need to send via a web form to the PayPal payment processor these script look very similar.
To view:
http://www.web-development-blog.com/archives/easy-payments-using-paypal-ipn/