Http request failed when including file through url from subdomain
问题 I'm trying to make reliable code that will work both on my local server and on my actual server for website so I won't have to change paths etc. to my files. I cannot use relative paths since I'm using a subdomain so browser doesn't see folders above that path so what I'm trying to do is on my local server use root folder to guide my code where the files are and on webserver I retrive servername. The error that I get right now is Warning: include(http://cms.domain.com/serverdetails.php):