PHP Code:
new szIp[32]
get_user_ip(id, szIp, charsmax(szIp))
new szTemp[512]
format(szTemp,charsmax(szTemp),"INSERT INTO `something` (`ip`)VALUES ('%s');",szIp)
The problem is it saves output such as:
Quote:
78.60.101.151:27005
78.56.130.238:27005
|
Why not just a IP, without port ...
I guess you could ask me why I'm saving something on users IP ? Because I'm writing a php website script where you don't have to log in, it automaticly identifies ur IP and redirects you into your user control panel where you can buy various things such as admin/vip/slot ... I can't detect users steam ID via php :[.