View Single Post
Old 06-28-2022, 10:37 AM  
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,125
Why isnt this capturing & sending the ip address?

Quote:
<form action="https://www.domain.com/submission.php" method="post">
<input type="text" name="name" id="name" style="width: 180px" value="Full Name" />
<input type="text" name="email" id="email" style="width: 180px" value="Email Address" />
<input type="hidden" name="date" id="date" style="width: 180px" value="June 28, 2022, 12:28 pm" />
<input type="hidden" name="ip" id="ip" style="width: 180px" value="123.12.12.123" />
<input type="submit" value="Get Updates" />
</form>
When I view the source of the page, the ip address shows, it just doesnt seem to be storing it in the DB?

These are the row settings I'm using in the table, are these right?

Row: address
Type: varbinary(16)
Null: No
Default: None

Is there a specific setting needed to store the ip address of a submission? If i use varbinary(16) I get nothing and binary(16) gives me this:

0x00000000000000000000000000000000

__________________
SOMETHING EXTREME IS COMING SOON!
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote