jrws Posted July 15, 2008 Share Posted July 15, 2008 What I want to know if it is possible (and if so how to implement it) is this: Pick a random password from an array and change ever 24 hours OR when a user uses the password, show admins and mods password so they do not have to look around. I was thinking that this will probably require MySQL for the User Database but I have no idea where to even start, I thought this idea was interesting so if you can help it is appreciated Quote Link to comment Share on other sites More sharing options...
PseudoEvolution Posted July 15, 2008 Share Posted July 15, 2008 It's definitely possible, but I can't say much more without further explanation for what you mean. when a user uses the password, show admins and mods password so they do not have to look around. I don't get what you're saying here. Quote Link to comment Share on other sites More sharing options...
jrws Posted July 15, 2008 Author Share Posted July 15, 2008 Ok so lets see if I can explain it better: Once a password has been used, it randomises again. The other thing was, show the admins and mods what the current password is. So this could happen. When somebody wins the prize admins know the password and pass it along to the winner, they then claim their prize and the password changes. Does this make more sense? Quote Link to comment Share on other sites More sharing options...
BillyBoB Posted July 15, 2008 Share Posted July 15, 2008 Are you wanting to use a database or would a file be your best choice. Quote Link to comment Share on other sites More sharing options...
Third_Degree Posted July 15, 2008 Share Posted July 15, 2008 well to change it every twenty four hours, you will need something called a cronjob. Most hosts have these, so look around your admin panel for them. They are basically scripts that are automatically run at certain times. As to coding it, basic SQL knowledge is really all you need. Quote Link to comment Share on other sites More sharing options...
mmarif4u Posted July 15, 2008 Share Posted July 15, 2008 The simple way to do it is with cronjob. i write a tutorial,howto.hope this will help. http://anl4u.freeweb7.com/blog/index.php?cat=13 Quote Link to comment Share on other sites More sharing options...
jrws Posted July 15, 2008 Author Share Posted July 15, 2008 cool thanks. So would I just place the passwords in a SQL table or database? Also how could I implement that the admins and mods can only see the passwords? Quote Link to comment Share on other sites More sharing options...
mmarif4u Posted July 15, 2008 Share Posted July 15, 2008 Place the passwords in a table,make a script to update passwords.Run it every midnight. For admin and mods,hopefully u have a different cpanel frontend for your users,admins,mods. Just show it there to them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.