Re: [PHP] Password expiration script

2005-04-01 Thread Angelo Zanetti
im sure it cant be that hard to write:
when user logs in check the last date their password was set.
if  30 days then prompt to connect and dont allow user to do anything 
else until password has been changed and new expiry date is set (which 
will now be less than 30 days)

use an include for it and if there is an error (ie logged in but havent 
changed password) redirect to an error page

hopefully this will get you going.
Angelo
Bosky, Dave 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


HTC Disclaimer:  The information contained in this message may be privileged 
and confidential and protected from disclosure. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer.  
Thank you.
 

--
Angelo Zanetti
Z Logic
[c] +27 72 441 3355
[t] +27 21 464 1363
[f] +27 21 464 1371
www.zlogic.co.za
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Password expiration script

2005-03-31 Thread Bosky, Dave
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

 



HTC Disclaimer:  The information contained in this message may be privileged 
and confidential and protected from disclosure. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer.  
Thank you.


Re: [PHP] Password expiration script

2005-03-31 Thread Ryan A
Theres instant2c pro at securecents.com, but that might be like using a tank
to kill a fly :-D




On 3/31/2005 11:18:31 AM, Bosky, Dave ([EMAIL PROTECTED]) wrote:
 --_=_NextPart_001_01C53626.6CCF76C0

 Content-Type: text/plain



 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











 HTC Disclaimer:  The information contained in this message may be
 privileged and confidential and protected from disclosure. If the reader
 of this message is not the intended recipient, or an employee or agent
 responsible for delivering this message to the intended recipient, you are
 hereby notified that any dissemination, distribution or copying of this
 communication is strictly prohibited.  If you have received this
 communication in error, please notify us immediately by replying to the
 message and deleting it from your computer.  Thank you.



 --_=_NextPart_001_01C53626.6CCF76C0--



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 3/30/2005

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



Re: [PHP] Password expiration script

2005-03-31 Thread xfedex
On Thu, 31 Mar 2005 14:18:31 -0500, Bosky, Dave [EMAIL PROTECTED] 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