PDA

View Full Version : New user email to admin - can it show IP address too???


sreedchi
01-26-2003, 06:54 PM
When a new user registers on our board, an email gets sent to the administrator.

Is it possible for the email to also show the IP address from which they regisitered. Ideally, I'd also love a clickable link where I (as administrator) can see from "WHERE" the person registered.

I tried a search and couldn't find anything like this.

Thanks.

Right now, all I get in my email is:

There is a new user, XXXX at XXXXX Forums

To view their profile, go here:

http://www.mydomain.com/member.php?action=getinfo&userid=xxx

Email Address : xxx@xxxx.xxx
Homepage : http://
Birthday : N/A

Biography :
Location :
Interests :
Occupation :


I'd love for it to also list IP address when registered - along, if possible, with a clickable link to see where they registered from - maybe froim networldmap.com or something similar.

I realize I can get this info from admin functions, but I'd like to make it as easy as possible.

Logik
01-26-2003, 07:01 PM
Do you know the PHP file that sends the mail to you? If so i can tell you how then.

Logik
01-26-2003, 07:06 PM
mail("you@blah.com", "Subject", "IP: $REMOTE_ADDR")

Logik
01-26-2003, 07:07 PM
just put $REMOTE_ADDR in the mail function in the file that sends the mail.

NTLDR
01-26-2003, 07:12 PM
Users IP and some other stuff in the registration email: https://vborg.vbsupport.ru/showthread.php?s=&threadid=42903

sreedchi
01-26-2003, 07:14 PM
FANTASTIC!!! Wow.. so quick! THANK YOU!

Logik
01-26-2003, 07:19 PM
Yw.. And thank NTLDR as well. He did a wonderful job of getting you the link.