I think it is because I used the wrong mode for editing the file. x+ merely
write over existing data in a file, does not truncate. The } could be
residue from previous writes. Using w+ solves the problem. ;>

Regards,
Tan Ai Leen




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to