RE: [PHP] Automatic survey

From: Date: Sun, 22 Jul 2001 18:35:14 +0000
Subject: RE: [PHP] Automatic survey
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-59081@lists.php.net to get a copy of this message
Hey Ryan Look at this :) http://nl.php.net/manual/en/function.mail.php so a thing like: mail("dbzno1fan@hotmail.com", "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:dbzno1fan@hotmail.com] > Sent: Monday, July 23, 2001 3:44 AM > To: php-general@lists.php.net > Subject: [PHP] Automatic survey > > > I have made a small page containing the following PHP > > <?php > echo "Ip address<BR>"; > echo $REMOTE_ADDR; > echo "<BR><BR>Port number<BR>"; > echo $REMOTE_PORT; > echo "<BR><BR>System info<BR>"; > echo $HTTP_USER_AGENT; > echo "<BR><BR>Last page visited in this window<BR>"; > 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: dbzno1fan@hotmail.com > AIM: legokiller666 > > >

« previous php.general (#59081) next »