 |
| ::: T4VN Statistics ::: |
PHP Scripts : 64 |
PHP Example : 67 |
PHP Tutorials : 21 |
PHP News : 93 |
Total Coupon : 36 |
Other Tutorials : |
Member : 215 |
Visitor Online : 3 |
Today Visit: 129 |
Total Visitor : 285995 |
Most Online : 41 |
|
 |
 |
Detecting HTTPS
Author : DA Master
Use PHP to detect if your connection is secure.
| PHP Example : | | if($_SERVER['SERVER_PORT'] == '443')
{
echo "Secure Connection";
} else {
echo "Connection Not Secure";
}
|
Usage Example:
| PHP Example : | | 0if($_SERVER['SERVER_PORT'] == '443')
1{
2 header("location: confirm_order.php");
3} else {
4 header("location: report_error.php");
5}
|
|
| |

|
 |
| ::: Resources ::: |
|
|
| ::: New Templates ::: |
|
| ::: Other Tutorials ::: |
|
 |