http to https

From: Date: Thu, 17 Jun 2004 23:27:41 +0000
Subject: http to https
Groups: php.general 
Request: Send a blank email to php-general+get-188516@lists.php.net to get a copy of this message
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?

« previous php.general (#188516) next »