Feeds:
Posts
Comments

Posts Tagged ‘handle’

Here’s a form validation script that is very easy to use.
Really Easy Field validation with Prototype
Instructions
The basic method is to attach to the form’s onsubmit event, read out all the form elements’ classes and perform validation if required. If a field fails validation, reveal field validation advice and prevent the form from submitting.
Include the javascript [...]

Read Full Post »

Write to a file from PHP

Write To A File
From PHP you are able to open up a file on your server and write to it. If the file does not exist we can create it, however if the file already exists you must chmod it to 777 so it will be writable.
When writing to a file, the first thing you [...]

Read Full Post »