The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
The code is heavily commented so its mostly understandable I think. Even so, you dont need to understand most of it. Its set up as a fairly standard form already, you could just change the email address it sends the message to and its good to go.
How to use it:
Find the USER DEFINABLE section in the code (its near the top).
Each variable in there is clearly commented and specifies what its used for. Changed them as you feel the need to. At minimum you need to change the $destination variable as it specifies the email address to send the contact form to.
The only other thing to do of course is to put in your HTML header and footer data.
As I say, its useable, but I wouldnt call it complete theres plenty you can do to improve it:
-Could easily be turned into a class (for those that like OO).
-The HTML generated could be tidied up a little, its a tableless form but still not semantically perfect.
-Spam protection could be added (javascript + server side)
-Support for more formatting on the form so you can add subsections, line breaks, extended descriptions etc.
-SMTP support
-File upload support
-Radio button support
Anyway, script is in the next post.
Needless to say its going to look a total mess without any formatting and the narrow width of the forum doesnt help either. Perhaps my efforts will encourage some nice staff member to do something about the code tags. ;)
But I'll also try to find somewhere to host the script so you can grab it in a nicer format.
Boom! The code is heavily commented so its mostly understandable I think. Even so, you dont need to understand most of it. Its set up as a fairly standard form already, you could just change the email address it sends the message to and its good to go.
How to use it:
Find the USER DEFINABLE section in the code (its near the top).
Each variable in there is clearly commented and specifies what its used for. Changed them as you feel the need to. At minimum you need to change the $destination variable as it specifies the email address to send the contact form to.
The only other thing to do of course is to put in your HTML header and footer data.
As I say, its useable, but I wouldnt call it complete theres plenty you can do to improve it:
-Could easily be turned into a class (for those that like OO).
-The HTML generated could be tidied up a little, its a tableless form but still not semantically perfect.
-Spam protection could be added (javascript + server side)
-Support for more formatting on the form so you can add subsections, line breaks, extended descriptions etc.
-SMTP support
-File upload support
-Radio button support
Anyway, script is in the next post.
Needless to say its going to look a total mess without any formatting and the narrow width of the forum doesnt help either. Perhaps my efforts will encourage some nice staff member to do something about the code tags. ;)
But I'll also try to find somewhere to host the script so you can grab it in a nicer format.