Is there a way to get the users ip and link it the input of a form input.
Have tried various ways but it does not seem to work.
as I remember there is a difference between Server IP and getting Public WAN IP. Depends on how your network looks. But u need PHP function. Google for it
You can use PHP code as an input value:
<input value="<?php echo $_SERVER['REMOTE_ADDR']; ?>" id="text1" name="text1">
1 Like
other way :
of course , you can use all super variables in server connect
add REMOTE_ADDR then use it where you want …
Does it work with nodejs?
1 Like