Need the code that send the ip with the contact from does any one have it or know where i cna get it![]()

Need the code that send the ip with the contact from does any one have it or know where i cna get it![]()
NEVER have this
So basically NEVER have the IP defined on the actual form because someone can just say use Artmoney and change their IP.PHP Code:<?php
$ip = getenv("REMOTE_ADDR");
echo("<input type='hidden' value='$ip' name='ip>");
?>
So always define their IP on the send.php file or whatever.
Thanks guys + Rep .. Do i just stick this on the top of my contact page.. And it shows as a php in macromedia is this right?
EDIT: Whilst were on forms i was woendring if you could help me on this one
<input type="submit" name="Submit" value="Submit" id="Submit" /> Were do i put and email address?
How do i make thanks for your application screen after clicking submit?
Thanks guys
Last edited by Helpie; 19-03-2007 at 06:04 PM.
Want to hide these adverts? Register an account for free!