Hi, I have been trying going thru the PHP manual to find if there are any equivalent to the __contruct and __destruct in PHP 4, but I cannot find any solution for this part. I know it was introduced in PHP 5, but as __sleep and __wakeup exist in PHP 4 already I was hoping there is something like __init and __die in PHP 4 :-) Best regards, Peter Lauri <http://www.dwsasia.com/> www.dwsasia.com - company web site <http://www.lauri.se/> www.lauri.se - personal web site <http://www.carbonfree.org.uk/> www.carbonfree.org.uk - become Carbon Free