yourfreemp4player Posted March 26, 2009 Share Posted March 26, 2009 Hi, I need to figure out how to get the IP of a user into a database field called ipreg on my registration page. It has to be consistent with their other information, not in a txt file or something like that... I've tried a few different methods and I can't seem to get it to work. I'm not entirely new at PHP, but im no expert. If someone can help me out that would be great. Quote Link to comment https://forums.phpfreaks.com/topic/151288-ip-address-of-user-on-registration-into-mysql-via-php/ Share on other sites More sharing options...
Maq Posted March 26, 2009 Share Posted March 26, 2009 Submit it with the rest of the information: Quote Link to comment https://forums.phpfreaks.com/topic/151288-ip-address-of-user-on-registration-into-mysql-via-php/#findComment-794714 Share on other sites More sharing options...
yourfreemp4player Posted March 26, 2009 Author Share Posted March 26, 2009 yup, that worked. I had something like that before but it wasn't working. I think i forgot the ; . Thanks a million! Quote Link to comment https://forums.phpfreaks.com/topic/151288-ip-address-of-user-on-registration-into-mysql-via-php/#findComment-794718 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.