Jump to content

LiamProductions

Members
  • Posts

    496
  • Joined

  • Last visited

    Never

Posts posted by LiamProductions

  1. I found some errors:

     

    <?php
    $msg = "We wou like you to come see our site!\nThis is why:\n\n";
    $msg .= "Your friend " . $_POST['FullName'] . " thought you might like Somewhere.com\n";
    $msg .= "So comeon " . $_POST['FriendName'] . " and join us now!\n";
    $msg .= "Someplace.com is a site for investors and people\n who want to sell their homes quickly\n";
    $msg .= "So what are you waiting on?\n Come see what you friend is talking about!\n";
    
    
    $to = . $_POST['Email'] .;
    $subject = "Your friend " . $_POST['FullName'] . " wants you to check this out!";
    $headers = "From: register@Somewhere.com\n";
    $headers .= "Reply-To: noreply@Somewhere.com\n\n";
    
    mail($to, $subject, $msg, $headers);
    echo "Thanks For Telling Your Friend About Us!";
    
    ?>

  2. hey.

     

    I was just wondering, some PHP servers like mine have Register Globals turned off. So you have to type something like

     

    $name = $_POST['name'];

     

    to get the data from the other page is there one line i can write so it gets all the data? if you know what i mean

  3. ~HEy.

     

    If you put a topic without a Topic title it allows you to proceed. then it just adds the tables ect on the forum board but theres no link to the topic.  ;) might want to fix it so it says something like You need to enter a Topic title.

  4. <?php
    echo "<a style=\"color:#FFFFFF; text-decoration: none\" href = \"../myFlights.php\">Click Here[/url] to view your flights.";
    ?>

     

    I think i just did it right... Im new to PHP too... Plus you can't have Qoutes (") inside echos without using a back slash.  ;)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.