Right now, I am ordering a custom Wordpress theme and testing it in xampp windows XP on an apache server. But while I'm worried, there is no built-in wp function to identify the code environment. Is there a built-in PHP function to identify such a thing?
for the record, what I want to encode must be read in the directory. in my apache (in windows) the path will be c: / xampp / htdocs, where apache on linux will be \ somepath \ somepath \
So, is there any solution for the code to find out what the OS is without having to extract and compare the path? I hope that it will also work with other OSs with a different web server, then APACHE, for example IIS
source
share