Forum Moderators: phranque

Message Too Old, No Replies

how to get mail from php variables ($HTTP_bla)

i recently reach some web site who get my email and spam me :(

         

morruga

8:15 am on Jul 10, 2004 (gmt 0)

10+ Year Member



I mean, i was on line on the MSN and at the same time i enter this site... an e mail came (from info@site.com) I never give my mail to no one! :@
So, i start the search for the way. Where does the client's mail come attached?
Someone knows an easy php way to obtain this?

sorry for my english and thanks!

RonPK

9:24 am on Jul 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi there morruga,

PHP only sees the headers your browser sends to the PHP enabled web server, along with the HTTP request. These headers generally give information about your IP address, browser/OS version and language preferences. Your browser does not send your email address to the web server. PHP cannot "get mail from php variables ($HTTP_bla)". Well, unless you've hacked the browser's UA string and put your address in it, but surely you would remember that ;)

morruga

7:42 pm on Jul 10, 2004 (gmt 0)

10+ Year Member



ok, so i don't undestand what happend that day :(
and the $HTTP_FROM?
what's the use for that variable?

thanks for the answer!

RonPK

8:53 pm on Jul 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Bl..dy h..., never heard of that one! A search at Google returned thousands of pages with HTTP_FROM: "googlebot(at)googlebot.com". Other pages suggest the header was used until say 1996-97, but obviously browser manufacturers have sensed that it is not very smart to distribute email addresses.

What browser are you using? Does it send HTTP_FROM?

morruga

12:39 am on Jul 11, 2004 (gmt 0)

10+ Year Member



the time that happend to me i was on win 98... jejej... fool of me. So, it's a great new to know that we are not exposed any more... i hate spam and the webmaster from that site make me so ungry that i never came back there (it was porn of course :P)

cheers!

RonPK

2:07 pm on Jul 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What browser are you using? Does it send HTTP_FROM?

morruga

6:23 am on Jul 14, 2004 (gmt 0)

10+ Year Member



i.e 6.0
it doesn't return any value ($HTTP_FROM)