Results 1 to 6 of 6

Thread: Forms

  1. #1
    Join Date
    Aug 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Forms

    Is there anyway of coding a submission form so that it would provide the default email address of the user completing the form without them providing their email address?

    What I am looking for is a way to see if someone in particular is going to one of my sites. I was thinking that I could use the form to create an entrance button to my site and then they wouldn't even know they were submitting a form.

    I'm using Homestead as the host for the site.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    The short answer is: no.
    The long answer is: no, because this isn't information that's given out by the browser. You can usually identify someone by either their IP address - which can change, but not very often unless the user is on dialup - or a tracking cookie.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Twey
    You can usually identify someone by either their IP address - which can change, but not very often unless the user is on dialup
    That isn't necessarily true, and again AOL is an example. In this case, AOL uses load-balancing proxy servers; one request might originate from one server, but a later request could be shifted to another to reduce load on the first.

    Also, note that AOL says that requests are usually routed through their proxy system. That means that occasionally, you might get a direct request from an AOL user, and so again there is the chance for you to receive a different IP address.

    or a tracking cookie.
    Of course, you should make sure that you can cope with rejected cookies. Not everyone allows cookies because they don't want to be tracked.

    Mike

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Quote Originally Posted by Mike
    In this case, AOL uses load-balancing proxy servers
    It's possible to find out the address of a machine behind a proxy (I think - something about X-Forwarded-For? Do some proxy servers not support this?).
    Of course, you should make sure that you can cope with rejected cookies.
    A combination of the above methods should work.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Twey
    It's possible to find out the address of a machine behind a proxy (I think - something about X-Forwarded-For? Do some proxy servers not support this?).
    Proxies can include the original address, but they don't have to, it can be disabled, and it's easily spoofed. The OpenInfo site provides some information about the x-header.

    Still, there are other considerations, such as NAT. On the whole, you just shouldn't attach a great deal to IP addresses on the Web.

    Mike
    Last edited by mwinter; 08-31-2005 at 08:24 PM. Reason: Changed stupid choice of link text

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    There you go, then. You can't (reliably). You can try all the above methods, but don't rely upon them too heavily.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •