iSpeedDevil! Posted September 17, 2008 Share Posted September 17, 2008 Hello there, i have an online mafia game made in PHP, and i was wondering what do i have to script to fetch ips, from when they register? and ill add an table inside "users" called "IP" right? varchar 255? ^^ Thanks anyway! ~iSpeedDevil! Link to comment https://forums.phpfreaks.com/topic/124705-solved-i-wanna-fetch-ips/ Share on other sites More sharing options...
HeaDmiLe Posted September 17, 2008 Share Posted September 17, 2008 you don't need 255... xxx.xxx.xxx.xxx [4x3+3=15]... $ip = $_SERVER['REMOTE_ADDR']; Link to comment https://forums.phpfreaks.com/topic/124705-solved-i-wanna-fetch-ips/#findComment-644119 Share on other sites More sharing options...
iSpeedDevil! Posted September 17, 2008 Author Share Posted September 17, 2008 I got 3 words for you! YOU ARE AWESOME! Thanks alot!! :D Link to comment https://forums.phpfreaks.com/topic/124705-solved-i-wanna-fetch-ips/#findComment-644123 Share on other sites More sharing options...
Maq Posted September 17, 2008 Share Posted September 17, 2008 Yes only use what you have to. Maybe a little more... You're just going to be allocating space for nothing. Link to comment https://forums.phpfreaks.com/topic/124705-solved-i-wanna-fetch-ips/#findComment-644125 Share on other sites More sharing options...
iSpeedDevil! Posted September 17, 2008 Author Share Posted September 17, 2008 thx for the tip, ill keep it in my head ^^ Link to comment https://forums.phpfreaks.com/topic/124705-solved-i-wanna-fetch-ips/#findComment-644128 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.