adding a second email reciever on a fill-out form.

Discussion in 'PHP' started by lazerweb, May 30, 2008.

  1. #1
    Hi there, this is part of of php form that I was given. it's config.php. The actual fill-out form works fine, but I wanted to add another person to recieve emails..code is below. Is there a way of adding a second person? I tried repeating the line and substituting my email with theirs, but that didn't work. Sorry I have no idea about php, but the person who wrote this is not around now...any help greatly appreciated.
    <?php

    $email = 'henryod@gmail.com';//your e-mail address

    $powered = 'mysite.tr';//title for powered by

    $title = 'IRISHPIRATES REQUEST';//form title

    $lkjlk = 'Form Name';// form name

    /// edit end

    $urlh = getenv(HTTP_HOST);

    $siteurl = "http://$urlh";



    ?>
     
    lazerweb, May 30, 2008 IP
  2. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #2
    just seperate the emails by ;

    $email = 'henryod@gmail; ';
     
    bartolay13, May 30, 2008 IP
  3. lazerweb

    lazerweb Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, I'll try that!
     
    lazerweb, May 30, 2008 IP
  4. lazerweb

    lazerweb Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I've waited about 25 minutes and no reply from the new code to either of the addresses, so not sure if its working...
     
    lazerweb, May 30, 2008 IP