Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Douglas F.
December 13, 2004, 4:07 pm
rate this thread
somebody else suggested check_function_exists, which is an excellent
solution. You can also look in $_SYSTEM['OS']. If it is set and to
Windows_NT or something, then you are likely on a windows system. Most
Unix-like operating systems will set $_SYSETM['OSTYPE'].
If you look at http://www.php.net/checkdnsrr , you will see in the user
comments at the bottom many solutions to the lack of a Windows version of
this function. Check it out.
I am not an ANGRY man. Remove the rage from my email to reply.
- » PHP Stops Processing on Multidimensional Associative Array
- — Previous thread in » PHP Scripting Forum