Hello, how do I determine from code the host platform running PHP? For
example, php.dl() requires a different module name under Win32 and *nix so
for more portable code I would like to write something like:
if (php_platform() == WIN32)
    dl('module.dll');
else
    dl('module.so');

Does this exist?

John M. Calvert, M.Sc., MCSD

1310521 Ontario Inc.
49 Belmont Ave.
Ottawa ON K1S 0V2
(613) 730-9851
http://members.rogers.com/john-m-calvert/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to