I want to get the full website URL from a given domain name using PHP.
example.com
I want the actual full URL which exists like one of the below.
http://example.com
http://www.example.com
https://example.com
https://www.example.com
I want to get the full website URL from a given domain name using PHP.
example.com
I want the actual full URL which exists like one of the below.
http://example.com
http://www.example.com
https://example.com
https://www.example.com