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! Quote 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']; Quote 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 Quote 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. Quote 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 ^^ Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.