From: Aguirre-Junco Angel-R. <Ang...@ho...> - 2002-07-25 11:50:20
|
Hello If somebody knows how to install successfully phpESP on Windows with easyphp (php4.2 mySQL 3.23 apache 1.3.24), mail me ang...@ho.... Here the script in phpESP.ini which phpESP is running on my machine Windows OS, but this system give me the problem with multilingual strings /** * Load the GNU Gettext module if it is not loaded. * If it cannot be loaded, define the NOP wrapper. * If the wrapper is defined, English will be the only * language available. */ /* if(!ini_get('safe_mode') && (extension_loaded('gettext') || @dl('gnu_gettext.dll'))) { if(!empty($HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'])) { $langs = split(" *, *", $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']); foreach($langs as $tmp_lang) { $tmp_lang = quotemeta($tmp_lang); if(file_exists("$locale_path/$tmp_lang")) { $lang = $tmp_lang; break; } $tmp_lang = substr($tmp_lang, 0, strpos($tmp_lang, "-")); if(file_exists("$locale_path/$tmp_lang")) { $lang = $tmp_lang; break; } } unset($tmp_lang); } putenv("LC_ALL=$lang"); bindtextdomain('messages', $locale_path); textdomain('messages'); } else if(!extension_loaded('gettext') && !defined('_GETTEXT')) { */ if (!defined('_GETTEXT')) { define('_GETTEXT',TRUE); function _($s) {return($s);} function bindtextdomain($s) {} function textdomain($s) {} } On Windows the fonction for mailing don't run, I have to erase my mail in the database. for any information about WINDOWS phpESP Thaks |