Page 1 of 1

How to jump from secure site to nonsecure?

Posted: Thu Aug 19, 2004 8:12 am
by ljCharlie
I have a .shtml form that is on a secure site. When a user submit the online form that is on a secure server, I got an error on the .php form success page. I contacted the webserver staff and they said they couldn't get PHP to work on their secure server site. Now here's my question, is there a way to program my form page so when the user click submit, the PHP form success page is launched from the un-secure site? For example, here's the online form:

https://www.myDomain.com:481/mySite/onlineForm.shtml

Now, when the user click the submit button on this form, it is automatically goes to:

https://www.myDomain.com:481/mySite/onl ... Sucess.php

So, here's what I want. When the user click the submit button, is there a way to redirect to something like this:

http://www.myDomain.com/mySite/onlineFormSucess.php

Is this possible?

ljCharlie

Posted: Thu Aug 19, 2004 9:30 am
by pickle
In the form declaration, just declare the action as "http://www.myDomain.com/mySite/onlineFormSucess.php"

Posted: Thu Aug 19, 2004 10:02 am
by ljCharlie
Thanks for responding. I tried that and it doesn't work. I mean the page does show up but the PHP mail() does not get executed.

ljCharlie

Posted: Thu Aug 19, 2004 10:06 am
by pickle
Does that insecure page get the appropriate POST variables? Is sendmail setup on that other server?

Posted: Thu Aug 19, 2004 3:20 pm
by ljCharlie
I decided to not do this now because that means the transaction is no longer secure.

Thanks!

ljCharlie