try placing an exit(); after your header line.

At 04:27 PM 6/17/2004, Ryan Schefke wrote:
I'm getting some strange behavior when trying to go from http to an https
script.



After clicking a form submit button the script will execute the two lines
below.  It does this and sends it to the correct page without the https,
only http.  What is strange is when I go back on my browswer and resubmit,
it correctly sends it to the https location and all is well.



$redirect = "https://www.tgwedding.com/payment6.php";;

    header ("Location: $redirect");





What am I doing wrong?

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to