|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Ip address from Form.
Is their a way to get a persons IP address when they submit a form to me? There is a person submitting forms to my website that I want to see if he is one of my members.
Thanks for any help. |
|
#2
|
||||
|
||||
|
What are you using to handle the form submission? php?
__________________
Support requests via PM will be ignored! |
|
#3
|
|||
|
|||
|
No idea, but here is my form code. I took out alot of the questions so it would be smaller but that is the only chnages I made.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>-DL- Recruitment</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000000" text="FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" oncontextmenu="return false">
<tr>
<td valign="top" height="370" colspan="2" bgcolor="#233558"><table width="506" cellspacing="0" cellpadding="0" border="0">
<tr>
<td colspan="2" class="mainWhite">Interested in joining the Demolition Legion Clan?<br>
<hr>
<hr></td>
</tr>
<tr>
<td height="40" colspan="2"> </td>
</tr>
<form method="POST" action="http://allforms.tripod.com/cgi-bin/u/Jabroni-1.cgi">
<tr>
<td colspan="2"><table width="506" cellpadding="0" cellspacing="0" border="0" class="mainWhite">
<tr>
<td>Name:</td>
<td><input name="Name" type="text" id="Name" size="25" maxlength="40"></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>Game Name:</td>
<td><input name="Player Name" type="text" id="Player Name" value="" size="25" maxlength="40"></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>Email:</td>
<td><input name="Email" type="text" id="Email" size="25" maxlength="255"></td>
</tr>
<tr>
<td colspan="2"><hr></td>
<tr>
<td colspan="2"><hr>
<hr></td>
</tr>
<tr>
<td> </td>
<td height="43"><input type="submit" value="Submit Join Request"></td>
</tr>
</table></td>
</tr>
</form>
</table>
<p> </p></td>
</tr><CENTER>
<FONT face=arial color=white size=1>This is the property of <a href="http://www.DemolitionLegion.com">Demolition Legion.</A> If you see this form on any other site that is not Demolition Legion, Please Contact us by <a href="http://www.DemolitionLegion.com">clicking this link.</A> Form © Copyright Protected. All Rights Reserved. Form was Last Updated on September 29, 2004</FONT>
</CENTER>
</body>
</html>
|
|
#4
|
||||
|
||||
|
if you don't know if you're using php or not, you are most certainly not. but if you were to use php, you would use this simple global variable
Code:
$GLOBALS['REMOTE_ADDR'] You would use this in a simple if (form was submitted) { send that variable wherever you need to }
__________________
Nattywraps wire wrap crystal jewelry |
|
#5
|
|||
|
|||
|
okay thanks.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Ip address from Form. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|