Hi John,
It could be a file permissions issue. I ran the script using PHP from XP's command prompt window and the output is fine. The problem occurs only when test.php is served by Apache. How should I grant the permissions? Do I modify php.ini or Apache's httpd.conf file? "John Lim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > Looks like a file permissions problem perhaps. Grant access to the the IIS > user or make the file public to everyone. > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php