QAds
Apple iPod shuffle 1 GB Gumus
$35.00
Toshiba Satellite T115D-S1125 LED TruBrite Laptop
$360.00
Apple iPod shuffle 1 GB Yesil
$35.00
Apple iPod nano 8 GB Yesil
$88.21
::
HOME
»
PHP
» How can I understand that URL is https or http?
HOME
WEB
HTML
CSS
JavaScript
PHP
Image Resizing & Uploading
Database with PHP Class
How To Hide Image Source
Export Excel
How To Read Excel File
Creating Folder With FTP
Human Check - Security Code
Using Multi Select
OOP Object Oriented Programming
How to Read XML file
MySQL
APACHE
Stored Procedures
AJAX
Most Popular Articles
» Full Text Search
» Basic AJAX
» How to Read XML file
» HTAccess Configuration
» Stored Procedure
» CHMod Permision
» Cron Jobs
» Object Oriented Programming
» How To Read Excel File
» Human Check Security Code
» Image Resizing & Uploading
» Validating Form Data
Popular Search Text
» db class mysql php
» php excel file
» object oriented php
» stored procedure export excel
» htaccess no input file specified
» countdown ajax mysql
» css div position
» cron jobs
» excel to mysql
» hide image path
How can I understand that URL is https or http?
I want understand that url is https or http. how can I do that?
You can use $_SERVER['SERVER_PORT'] to understand it is http or https. if it is http, you will get 80 as a value and if it is https, you will get 443.