#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    Basicly I am trying to write a script so an e-mail address is not posted in the HTML code (b/c of spammers who parse through site for e-mail address) all e-mail addresses will be stored in the user database...when when you click the link (email_script.php?id=bill) then have it treat that link as a mailto: link...I have tried doing it using header("Location: mailto:bill@domain.com"), but that doesn't work...I have seen this done before so I know that it can be done...can anyone PLEASE help
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Indiana
    Posts
    614
    Rep Power
    16
    I don't know, but that's a great idea.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    15
    How about loading a page that has a dynamicically created meta tag at the top with the email address in place ie
    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=mailto:ssd@sfsdf.com">

    Where ssd@sfsdf.com is the email form the database
  6. #4
  7. No Profile Picture
    Robert_J_Sherman
    Guest
    Devshed Newbie (0 - 499 posts)
    Why not just create a page that loads
    a simple email window.. or should I say
    an HTML form, whereby the "id" link clicked
    on, opens this new form, with the
    "TO" address already filled in..

    The user can fill out the form, then simply
    click send, and off the email goes.

    I don't think either of the "Header:" or
    META tags will work. But I have not tried the meta tag option.



    ------------------
    SnR Graphics,
    Low Cost Hosting and Web Development.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    I could do the popup window...I would rather do the mailto: link but, that's ok...Ummmm...stupid question, but how do I do a popup window using PHP?...or do I have to use JavaScript, in which case how do I do that?
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    15
    Did you try the META tage solution I tested it personally and it works.
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    Can you e-mail me your code? Send it to:
    ckacerguis at hotmail.com

Similar Threads

  1. Replies: 4
    Last Post: May 13th, 2009, 07:03 AM
  2. Send mail only works for some addresses
    By jmiles in forum PHP Development
    Replies: 3
    Last Post: March 3rd, 2004, 04:12 PM
  3. Help with script
    By akastarlight in forum Perl Programming
    Replies: 1
    Last Post: February 6th, 2004, 06:55 AM
  4. mail() not working with ISP's mail server
    By wjones8050 in forum PHP Development
    Replies: 2
    Last Post: January 9th, 2004, 02:47 PM
  5. mail() multiple addresses
    By wannabe in forum PHP Development
    Replies: 4
    Last Post: May 28th, 2003, 09:03 PM

IMN logo majestic logo threadwatch logo seochat tools logo