Jump to content

POST redirect and security


Mirkules

Recommended Posts

Hi All,

 

I have a form that is being submitted to a "middle layer" php script which is then supposed to redirect (along with the POST variables) to a secure site.  The prevalent method of doing this is through the fsockopen() method writing the header information directly.

 

However, since I am redirecting to a 3rd party secure site, I am wondering if this method is secure.  It just doesn't seem very elegant, especially since the URL doesn't change to HTTPS.

 

Here is the code for the fsockopen() method: http://www.faqts.com/knowledge_base/view.phtml/aid/12039/fid/51

 

Thanks in advance,

 

Mirkules

Link to comment
https://forums.phpfreaks.com/topic/82056-post-redirect-and-security/
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.