I've got a credit card payment page that needs to be on a secure connection. Is there any way to test to make sure that the user has connected to the page via https? The only way I can think of is test which server port is used, but I don't want it to depend on the server config. Is there a more reliable way to test this in PHP? Tony