PDA

View Full Version : IP Checker on a Form?



xxstarvisionsxx
10-24-2004, 11:26 AM
Hey, I need some serious help. On my website I have a form mail that asks users for their information, such as, account name, first and last, phone #, etc...but I want to make sure that 1 person from a computer can access the form and complete it, in otherwords, after they complete the form, and hit submit, they can no longer go back to the form and hit the submit button, if anyone can help me with this I would greatly appreciate it. And if you play poker, I will get you $50.00 for free at partypoker.com --seriously

Also, if anyone knows how to make sure they complete each field before they hit the submit button, like a box that pops up saying you must complete all the fields, can anyone help me with this, here is the html code for my current form incase someone wants to implement for me and really help me out...thanks...

<form action="http://freefifty.com/v-cgi/forms.cgi"
enctype="application/x-www-form-urlencoded"
method="post">
<div align="center">
<table border="1" cellspacing="0" height="303" bordercolor="#CCCCCC" cellpadding="0">
<tr bgcolor="#666666" bordercolor="#FFFFFF">
<td align="right" width="136" height="8" bordercolor="#000000"><font face="Georgia, Times New Roman, Times, serif" size="-1" color="#CCCCCC">
*Account Name: </font></td>
<td width="263" height="8" bordercolor="#000000"> <font color="#999999">
<input type="text" name="Account_Name" size="30" />
</font></td>
</tr>
<tr bgcolor="#666666" bordercolor="#FFFFFF">
<td align="right" width="136" height="33" bordercolor="#000000"><font face="Georgia, Times New Roman, Times, serif" size="-1" color="#CCCCCC">
*First And Last Name: </font></td>
<td width="263" height="33" bordercolor="#000000"> <font color="#999999">
<input type="text" name="First_And_Last_Name" size="30" />
</font></td>
</tr>
<tr bgcolor="#666666" bordercolor="#FFFFFF">
<td align="right" width="136" height="55" bordercolor="#000000" bgcolor="#666666"><font face="Georgia, Times New Roman, Times, serif" size="-1" color="#CCCCCC">
*Enter your Home Telephone #: </font></td>
<td width="263" height="55" bordercolor="#000000" bgcolor="#666666">
<p><font color="#999999"><font color="#FFFFFF" face="Georgia, Times New Roman, Times, serif"><b><font size="-1" face="Times New Roman, Times, serif">*You
must enter the phone # that you would like for us to give
you a call at, you will not receive the $50 if the # you
enter is invalid*</font></b></font><font color="#FFFFFF"><br>
</font>
<input type="text" name="Telephone_Number" size="30" />
<br>
</font></p>
</td>
</tr>
<tr bgcolor="#666666" bordercolor="#FFFFFF">
<td align="right" width="136" height="30" bordercolor="#000000"><font face="Georgia, Times New Roman, Times, serif" size="-1" color="#CCCCCC">
*Email Address: </font></td>
<td width="263" height="30" bordercolor="#000000"> <font color="#999999">
<input type="text" name="Email_Address" size="30" />
</font></td>
</tr>
<tr bgcolor="#666666" bordercolor="#FFFFFF">
<td align="right" width="136" height="30" bordercolor="#000000"><font face="Georgia, Times New Roman, Times, serif" size="-1" color="#CCCCCC">
*Verify Bonus Code you used to signup at PartyPoker:</font></td>
<td width="263" height="30" bordercolor="#000000"> <font color="#999999">
<input type="text" name="Verify_Bonus_Code" size="30" />
</font></td>
</tr>
<tr bgcolor="#999999" bordercolor="#FFFFFF">
<th width="136" align="right" valign="top" height="82" bordercolor="#000000"><font face="Georgia, Times New Roman, Times, serif"><br>
</font>
<div align="left">
<p><font size="-1" face="Georgia, Times New Roman, Times, serif"><b><font color="#000000">Where
did you hear about FreeFifty.com?<br>
</font></b></font></p>
</div>
</th>
<td width="263" rowspan="2" bordercolor="#000000">
<textarea name="Comments" cols="40" rows="5"></textarea>
<br>
</td>
</tr>
<tr bgcolor="#999999" bordercolor="#FFFFFF">
<th width="136" height="9" bordercolor="#000000">
<input type="submit" name="Form_Submit2" value="Submit Form" />
</th>
</tr>
</table>
</div>
<p align="center">
<input type="hidden" name="_vDeckformid" value="22" />
</p>
</form>

cr3ative
10-24-2004, 11:50 AM
Form validation; see http://www.webdevelopersjournal.com/articles/jscript_forms1.html

As for IP logging/denial; see
http://www.webwizarddesign.com/superfrm/ (This may not be what you are looking for)

cr3ative

xxstarvisionsxx
10-24-2004, 07:24 PM
Thanks I will check these out...appreciate that, need to have this taken care of...

xxstarvisionsxx
10-24-2004, 09:23 PM
I checked out the superform you have here, and it seems like I would like to use it, it logs ip's which is nice, I really need some security at my form to block out people who have already gotten the $50.