Is it possible to check if the website (php) is running locally or on a hosted server? I want to enable some logs if the website is running locally and I don\'t want these to ap
I have build this function that checks if current server name has name server records, normally local server don't has.