Jump to content


Photo
- - - - -

Getting intel through forms


  • Please log in to reply
1 reply to this topic

#1 Swerve

Swerve

    Dangerous free thinker

  • Members
  • 809 posts
  • Country:
  • Gender:Male

Posted 15 July 2011 - 11:32 AM

So I'm making a contact us form for a site using PHP and was wondering if anyone had any input on what kind of info I can gather through the form.

I'm not thinking of anything extravagant like tracking sessions etc, but so far have just managed to come up with grabbing the user's IP, user agent and the referer.

Can anyone think of some more things I could collect 'behind the scenes'?

Thank you.

#2 tekio

tekio

    5(R1P7 |<1DD13

  • Binrev Financier
  • 1,102 posts
  • Gender:Male
  • Location:The Blue Nowhere

Posted 19 July 2011 - 03:51 AM

The php manual lists all the predefined $SERVER[] variables. A lot are dependent on the web-server running, but from my experience, both apache and IIS support all of them.

http://www.php.net/m...bles.server.php




BinRev is hosted by the great people at Lunarpages!