POSTing from HTTP to HTTPS - help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
smcpoland
Forum Newbie
Posts: 4
Joined: Wed Nov 05, 2003 8:31 am
Contact:

POSTing from HTTP to HTTPS - help

Post by smcpoland »

Hi,

I have the following code in page1

http://www.A.com/page1.php

Code: Select all

<form action="https://vault2.X.com/X/pers_p1.php", method="post">
   <a href="https://vault2.X.com/X/pers_p1.php">
   <img src="../images/CTA_Go_to_Checkout.gif" ></a>
   <input value="<?php echo $_COOKIE&#1111;'cookieval']; ?>" type="hidden" id="pwdSID" name="pwdSID">
</form>
obviously I am expecting the variable pwdSID to be passed to the following page on the HTTPS server......

Page2 on the HTTPS does this.....

Code: Select all

foreach($HTTP_POST_VARS as $varname => $value)
	echo "p ".$varname."->".$value."<br>";
to display the data passed but there is no data - is this a problem with posting from HTTP to HTTPS?

I have also noted that all my $_SESSION varibales set in the HTTP pages are not able to be accessed.

Can anyone shed any light

TIA
Sean
baerkens
Forum Newbie
Posts: 1
Joined: Fri Feb 20, 2004 8:37 am
Location: Australia

Post by baerkens »

We are experiencing the same problem. We have traced (we think) it to IE and the latest patch. There is a patch for IE that apparantly fixes this problem.

People using unpatched IE do not seem to have the problem. Or other browsers.

However, we still want to see if there is any way around this as we can't tell our users to patch IE. We are going to upgrade to PHP version 4.3.4 early next week and hope this helps.

What version of PHP are you using.
Post Reply