[PHP-DB] Build-up of MySQL Sessions

2002-07-08 Thread SpamSucks86
I'm running windows 2000 and the latest releases of PHP and MySQL. All database connections are made with mysql_pconnect(). Connections build up, however. The only person connecting to this webserver at the moment is myself. It seems that it opens connections and doesn't close them, or opens

[PHP-DB] Easy way to calculate difference between two dates

2002-01-20 Thread SpamSucks86
Is there an easy way to calculate the difference between the current date and a date prior to January 1, 1970 (unix epoch). Just getting the timestamp and then subtracting the other date from it won't work because it will be a negative number. Any insight? I think this can be done very easily in