On Thu, 31 Mar 2005 14:18:31 -0500, Bosky, Dave <Dave.Bosky@xxxxxxxxxx> wrote: > I'm looking for a script that would require a user to change their password > every 30 days. Does anyone use a script that has functionality similar to > what I'm looking for? > > Thanks, > > Dave > I got do it so using a DBquery $sql = 'SELECT TO_DAYS(NOW()) - TO_DAYS(\''.$last_pass_chg.'\');'; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php