How to check if a website is HTTP or HTTPS?
15:10 26 Sep 2016

How can I check is a website is secure with a HTTPS or insecure with a HTTP ?

My users need the enter their website like this: domain.com.

My system need to ping this domain and check if it's a HTTPS or a HTTP.

php http https