php-windows | 2003032
Date: 03/22/03
- Next message: FBN: "[PHP-WIN] Imagecreatefromjpeg problem."
- Previous message: Neil Smith: "[PHP-WIN] Re: Subject: Cookies"
- Next in thread: Eric Gach: "RE: [PHP-WIN] determine host platform - win32 / *nix"
- Reply: Eric Gach: "RE: [PHP-WIN] determine host platform - win32 / *nix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: FBN: "[PHP-WIN] Imagecreatefromjpeg problem."
- Previous message: Neil Smith: "[PHP-WIN] Re: Subject: Cookies"
- Next in thread: Eric Gach: "RE: [PHP-WIN] determine host platform - win32 / *nix"
- Reply: Eric Gach: "RE: [PHP-WIN] determine host platform - win32 / *nix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

