Quote:
Originally Posted by xxweekxx
what do u mean im doing post from my server? when i upload any simple php script and do server[remote_addr] , and echo it, it gives me server ip..
|
exactly it's echoing the remote_addr at that point. When you post to a form you probs are grabbing the remote_addr at that point from the .php that's responsible for handling the user input.
the advice that was given will sort you out. something like
Code:
<input name="remoteip" type="hidden" value="<?php print $REMOTE_ADDR; ?>">
then in the part that handles the post pull the remoteip by parsing it from the name remoteip.