Quote:
Originally Posted by bDok
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.
|
That's incredibly stupid, why would you give the ability for clients to manipulate their ip addresses?
and why are you using code that depends on register globals being on?