Jump to content

$_POST with SSL from https to http


kazsil

Recommended Posts

Hey all!

 

I have a question for you that i cant figure out...

Is there some special trick about passing a form variable across SSL to be caught by $_POST ?

 

Here is what I mean:

 

***********HTTPS PAGE *************

<input type=submit value="Renew" STYLE="font-size : 8pt">
                <input type=hidden name=CarID value=$CarID>
                <input type=hidden name=Make value=$Make>
                <input type=hidden name=Model value=$Model>
                <input type=hidden name=ShowCodes value="No">
           </form> 

 

 

 

*************  GOES TO REGULAR  HTTP  **************

 $CarID=$_POST['CarID']; 
$Make=$_POST['Make'];

 

 

 

Problem is that it goes from https to http which i believe plays havoc on POST var.

 

How do i fix this problem...  is there a way to send the var over that I am missing?

 

Thanks!

Jen  ;)

Link to comment
https://forums.phpfreaks.com/topic/72375-_post-with-ssl-from-https-to-http/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.