need a little help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paky

    need a little help

    Can someone tell me what command should I use in this PHP file to have
    the broswer redirected to a "thankyou.h tm" page instead of a simple
    "thanks for your confirmation" message .

    Thanks in advance ,
    Paky



    mail("$email_sa les","Reservati on Confirmation#
    $reservation",$ text,"From:Secu reForm<$email_s ales> ");
    print "<center><br><b r><b> THANKS FOR YOUR
    CONFIRMATION<br ><br><br>";
    }
    else
    {
    if ($resultcli==$_ CLI_TIMEOUT)
    {
  • Shawn Wilson

    #2
    Re: need a little help

    Paky wrote:[color=blue]
    >
    > Can someone tell me what command should I use in this PHP file to have
    > the broswer redirected to a "thankyou.h tm" page instead of a simple
    > "thanks for your confirmation" message .
    >
    > Thanks in advance ,
    > Paky
    >
    > mail("$email_sa les","Reservati on Confirmation#
    > $reservation",$ text,"From:Secu reForm<$email_s ales> ");
    > print "<center><br><b r><b> THANKS FOR YOUR
    > CONFIRMATION<br ><br><br>";
    > }
    > else
    > {
    > if ($resultcli==$_ CLI_TIMEOUT)
    > {[/color]

    Something like:

    header("Locatio n: http://yourdomain.com/thank-you.htm");

    Should work, though you'll have to put this line before anything is written to
    the page, even a single line-break or space.

    Shawn
    --
    Shawn Wilson
    shawn@glassgian t.com

    Comment

    Working...