Clear the field values of a form on focus and populate the field with the title on blur.
How to build an enquiry form using PHP.
Learn to build a basic html form which uses PHP to do simple email validation and sends and email.
How to create an AJAX form in WordPress
Below is an ajax newsletter subscription example i put together. It displays a single input field form that once submitted emails the subscriber details to a specified recipient. This script can be used in many ways, you could even change the function to add the details directly to a database.
Create an enquiry form using Expression Engine
Expression engine is a CMS based on the ever popular PHP Framework “CodeIgniter”. Basically meaning that anything you can create in codeigniter can be created or developed for Expression Engine. Below is a form built into a template file in Expression Engine 2. Copy the code paste it into a template and try out the […]
Stop image hotlinking using an htaccess file
Other websites linking to images on your website can cause a considerable increase of your bandwidth usage especially if that website has tons of visitors. The below script stops images from your website showing on other websites. Thus if someone is linking directly to an image on your website it will not show on there […]