|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Capture IP
Is there a way to save user's ip adress?For example, when they complete a declaration form, when they submit, save the ip address of their machine without them typing it in?
Th ![]() |
|
#2
|
||||
|
||||
|
Yes. What is receiving the form?
In Perl it would be: Code:
my $myIP = $ENV{'REMOTE_ADDR'};
If you are needing to do this in a Windows environment programatically there are APIs functions you can use for this. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Software Design > Capture IP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|