Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP Password Based Upon The Hour
April 6, 2005, 2:45 pm
rate this thread
Re: PHP Password Based Upon The Hour
Try something like this using sessions.
if($action == "login")
if($_POST['password'] == "word".date("h");
<input type="password" name="password">
<input type="submit" name="action" value="Login">
I sure hope that's right, I usually get someone else to write the HTML
for me. :) Also I'm not sure if I'm using the right syntax for 'date()'
so you might want to check php.net for that, no time for me to do it now.