Hey Ryan
Look at this :)
http://nl.php.net/manual/en/function.mail.php
so a thing like:
mail([EMAIL PROTECTED], My Own Subject, \
IP:\n$REMOTE_ADDR\n \
Port Number:\n$REMOTE_PORT\n \
System info:\n$HTTP_USER_AGENT\n \
Last page visited in this window\nHTTP_REFERER\n);
should do the trick :)
Hope it helps,
-Kees
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 3:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Automatic survey
I have made a small page containing the following PHP
?php
echo Ip addressBR;
echo $REMOTE_ADDR;
echo BRBRPort numberBR;
echo $REMOTE_PORT;
echo BRBRSystem infoBR;
echo $HTTP_USER_AGENT;
echo BRBRLast page visited in this windowBR;
echo $HTTP_REFERER; ?
is there any way i can make the PHP file email me the info above
without revealing the users address, if so, what should i add to
the code? (dont worry im only using the code above as a tester,
as you can tell im not a hacker)
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]