Basic PHP Form version 1.2 Instructions:
- Unzip the package with an unzipping utility. I like Winrar -http://www.rarlab.com (Actually, that's a pretty silly thing to say, since if you're reading this, you've already unziped the file. But I digress)
- If you're upgrading from version 1.0, you will have to replace all files ending with the .php extension.
- Open the file “config.php” and edit the email address or addresses that will receive the form results. You can also edit the other variables if you want.
- Upload all the php files and the css file to your server. You should be able to upload them to any directory.
- On some servers you will have to chmod the php files (change file permissions) to 0755 in order to execute the files. Most modern FTP clients can do this for you, but if you need help or want to know more about how chmod works, go to: http://catcode.com/teachmod/
- Now run the form.php page on your server and try it out.
- If there's a field you don't need, do the following:
- Turn off the validation in the config.php file. (e.g. phone_on="0")
- Remove the table row that contains the unwanted field from the form.php file.
- If you're using the confirmation page, remove the table row from the confirm table" section of confirm.php; line 135.
That’s pretty much it. I have included header and footer files that you can modify to match your site’s design. You can either edit the files directly, or point the include statements to your own template files. I have tried not to style the files too much, save for a tiny bit of css.
The php files are commented in all the key areas. If it doesn't work for you and you've followed all the directions and haven't edited anything but the config.php, or the form.php file email me at: info@mevin.com and I will try to help you, time permitting. If you require modifications beyond the basic functionality, I am happy to help, but I charge $50.00/Hr.
You're ready for a break. I suggest a cup of coffee and a Twix bar.
Peace and stuff,
Mark
info@mevin.com