[thelist] Testing for secure connection in PHP

Roger Ly evolt at matchpenalty.com
Fri Apr 16 19:06:12 CDT 2004

>I've got a credit card payment page that needs to be on a secure
>Is there any way to test to make sure that the user has connected to
>page via https?

I know on IIS it is possible to disallow access to a particular
subdirectory in a site unless it is being accessed by SSL.  You could
make the CC payment page one that exists in a subdirectory with such
blockage enabled.

This doesn't actually answer your question, but provides an alternative
means to go about requiring the page be accessed via SSL.



More information about the thelist mailing list