keepz Posted April 28, 2008 at 03:08 PM Report #181933 Posted April 28, 2008 at 03:08 PM Boas tardes, bem é o meu 1º post e começo por fazer uma pergunta que para alguns secalhar é basico. Como consigo eu, por exemplo ao registar um utilizador atraves de php, para bd sql, sacar o ip do utizilizador q se registou ? // now we insert it into the database @$ip= $REMOTE_ADDR; $insert = "INSERT INTO users (username, password, email, ip) VALUES ('".$_POST['username']."', '".$_POST['pass']."', '".$_POST['email']."', '".$ip."')"; agradeço toda a colaboraçoa 🙂
Battousai Posted April 28, 2008 at 03:13 PM Report #181937 Posted April 28, 2008 at 03:13 PM $_SERVER['REMOTE_ADDR']
keepz Posted April 28, 2008 at 03:21 PM Author Report #181942 Posted April 28, 2008 at 03:21 PM Funcou 🙂 ty
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now