Customizing SMF > SMF Coding Discussion
Form Validation Problem
mybiafraland:
I bought this php form validation in the notepad from a friend who is a complete novice as it is I am ok with the editing just don't know what to upload to make the form work as I have created my custom contact page without using any contact me mod.
do I need to create any separate php file for / from "form action" ? please help look at the entire code in the notepad
mybiafraland:
this
--- Code: ---<form action="qservers_mail.php" method="post">
<table border="0" style="background:#ececec" cellspacing="5">
<tr align="left"><td>Name</td><td><input type="text" size="30" name="name"></td></tr>
<tr align="left"><td>Email address</td><td><input type="text" size="30" name="email"></td></tr>
<tr align="left"><td valign="top">Comments</td><td><textarea name="message" rows="6" cols="30"></textarea></td></tr>
<tr align="left"><td> </td><td><input type="submit" value="Send" name='submit'><font face="arial" size="1"> <a href="http://www.qservers.net">Qservers.net</a> by Netbuilder Ltd.</font></td></tr>
</table>
</form>
--- End code ---
is the point I really got ;D ;D ;D
K@:
As this is about a coding problem, I've been a total rebel and moved this to the "SMF Coding Discussion" board.
You're more likely to get the help you need, here. ;)
mybiafraland:
--- Quote from: K@ on August 08, 2012, 05:59:36 AM ---As this is about a coding problem, I've been a total rebel and moved this to the "SMF Coding Discussion" board.
You're more likely to get the help you need, here. ;)
--- End quote ---
thanks hope i get it to work soon
Suki:
This doesn't really belong to SMF coding since the script is a standalone script. Unless you want to integrate this with SMF.
The code tells it needs the following files to exists on the same folder as smf form.txt
Mail.php
and the folder Mail.php with mime.php inside of it.
Its pretty straight forward, you just need those 3 files and call smf form.php on your browser, also, you need to change the smf form.txt for qservers_mail.php
To integrate this with SMF you will need to create a page for it an call the necessary files, there are mods that creates pages although I don't know if those mods can handle php pages.
Navigation
[0] Message Index
[#] Next page
Go to full version