| ||||
| Can someone tell me how to get the users IP in php? Like when someone registers to my site, how the fuck can I get their IP? Ive looked through that php manual but I dont see shit there. It must be possible when forums log IP's and stuff... | ||||
| ||||
| $_SERVER['REMOTE_ADDR'] The forum removed my caps. That should all be upper-case. | ||||
| ||||
| Quote:
![]() The IP address thats getting stored is 'unknown'... wtf????? Edit: Okay, my IP seems to be showing as 'unknown' but not for anyone else... Any idea why this is? | ||||
| ||||
| You must be elite or something. Are you running the script locally? | ||||
| ||||
| Quote:
and I'm access it via my browser for testing... | ||||
| ||||
| It may be that they disable certain commands, although I don't see why they'd disable one part of REMOTE_ADDR for the browser. What's the address of the page? | ||||
| ||||
| http://utenti.lycos.it/teelo12000/ although i have the admin stuff for viewing the IP's locked away ![]() Edit: Uh I give up for today. This shit is givin me a headache. I'll continue tomorrow. ![]() | ||||
| ||||
| Get it to echo the IP address it's collecting in html comments at the end of the document or something. I'd be curious to see if it's really just doing it for you or what. | ||||
| Login or Register to Reply |
| Tags |
| php |
| Topic Tools | |
| Display Modes | |
| |
| | ||||
| Topic | Topic Starter | Forum | Replies | Last Post |
| Battery Problem Scrubs Launch | Cupid | News Views and Issues | 0 | 15-Jul-2004 04:56 PM |
| Ear my problem | KoLdArKnEsS | Ask Aunt Sparklechick | 6 | 16-May-2004 01:09 PM |
| Sitemap |
< New Zealand News - Arcade - New Zealand Map - Helpdesk - New Zealand Photo Gallery - NZBMail - Sitemap > |