Depends on what date you want. Putting the date in the form file records the client machine date and relies on the client PC date being accurate. Putting it in the processor.php file relies on the web host date. This is likely to be more accurate but if your web host is in a different time zone then it may be different than what you expect.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wow, I'm so impressed how cleanly everything is working, with captcha or without, hidden fields.
Great.
I need to pass "Today's date" as a hidden field.
How do I do that?
thanks,
Kathy
Depends on what date you want. Putting the date in the form file records the client machine date and relies on the client PC date being accurate. Putting it in the processor.php file relies on the web host date. This is likely to be more accurate but if your web host is in a different time zone then it may be different than what you expect.