How to check whether the page is call from http or https in php
<p>Just wondering, will it be possible we can check whether the page is call from http or https in php?</p>

<p>Example:
If I call to a page call customer.php by the following link <a href="http://customer.php" rel="nofollow">http://customer.php</a>, will it be possible to check in php and tell the page is from http.. also if I call the page from the following link <a href="https://customer.php" rel="nofollow">https://customer.php</a>, will it be possible to check in php and tell the page is from https?? </p>
