Jump to content

deltajam_v

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

deltajam_v's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. When I use kenrbnsn's code, the output is pretty wacky: 2006-04-17 09:54:23 + 6 months = 1969-12-31 19:00:00 any suggestions?
  2. I have zero experience with crontab.  My site is hosted with iPower ... so php & mySql.  I always thought cron was a linux thing ... excuse my ignorance please ..
  3. what about something like this ... 1. Randomly generated password is created and written to a temp database field. 2. User attempts to login and the script checks the password used to enter with the password stored in the DB. 3. It also checks the date/time of the random pass, and verifies if its been a 24hrs or not 4. If it has been more than 24hrs since the last pass was generated, it generates a new password and stores it in the DB might this work instead of using crontab? Ps ... absolute newbie to crontab ... have no idea where I would start with that ... Thanks
  4. I jsut want the password to stay the same for 24hrs and then be randomly generated to cover another 24hr period.
  5. Hi, I have a randomly created password that I would like to somehow automate to change everyday.  However, I would like that password to stay the same for 24hrs and then change.  Is there a way to automate this without creating a cron job?
  6. Thank you very much kenrbnsn. Not to discredit wisewood though ... both work perfectly. Thank you!
  7. Hi, I'm pulling a datetime field called 'expires' from the database. I also have a field in the db called 'months' that I would like to add to the expires field. So if: $expires = 2006-04-17 09:54:23; $months = 6; I want to add the months to the expires variable. How would I do that?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.