// path to func.php file from XPM2 package to include in the current file
// notice: do not include if you already have include "smtp.php" or "pop3.php" from XPM2 package
require_once '/path/func.php';
echo 'It is Windows platform? '.(FUNC::is_win() ? 'Yes' : 'No').'.';
// .. rest of code
|