0

I need to include the IP address of the customer when the customer submit the forms in my website?Is this possible using python or javascript without using any third party scripts?To pass the IP address along with the form details.

Srinivasan
  • 11,718
  • 30
  • 64
  • 92
akhil viswam
  • 496
  • 9
  • 24
  • Possible duplicate of [Finding local IP addresses using Python's stdlib](http://stackoverflow.com/questions/166506/finding-local-ip-addresses-using-pythons-stdlib) – Justinas Jun 06 '16 at 06:00
  • You don't put the IP into the form. The server gets the IP from the network. What python module are you using to get the form data, it should have a method to get the client's IP? – Barmar Jun 06 '16 at 06:25
  • See http://stackoverflow.com/questions/9389691/getting-ip-address-from-http-post-request-using-python and http://stackoverflow.com/questions/16575722/how-to-get-a-viewers-ip-address-with-python – Barmar Jun 06 '16 at 06:26

0 Answers0