 |
| ::: T4VN Statistics ::: |
PHP Scripts : 35
|
PHP Example : 67
|
PHP Tutorials : 21
|
PHP News : 91
|
Total Coupon : 36
|
Other Tutorials :
|
Member : 168
|
Visitor Online : 1
|
Today Visit: 24
|
Total Visitor : 88739
|
Most Online : 25
|
|
|
 |
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 ::: |
|
|