[PHP] include_once behaves differently in mod_php4 vs php5-cgi

2005-11-30 Thread Toomas Aas
Hello! There's a website with a following structure index.php in the site's DocumentRoot directory (for this thread, let's call it /www) functions.php, init.php and db_connect.php in /www/library index.php includes line: include_once('library/functions.php'); functions.php includes lines:

[PHP] iconv() in PHP returns 'Unknown error 0'

2005-09-07 Thread Toomas Aas
on it, and this takes some time. If there is some quicker way to get PHP's iconv extension functional, I'd prefer to use that for now. -- Toomas Aas |arvutivõrgu peaspetsialist | head specialist on computer networks| |Tartu Linnakantselei

Re: [PHP] iconv() in PHP returns 'Unknown error 0'

2005-09-07 Thread Toomas Aas
Toomas Aas wrote: - ?php echo iconv(ISO-8859-1, UTF-8, This is a test.); ? - When I load this script via the browser, PHP outputs nothing. I have error logging set to file only