I am working on my first cakePHP site and came across an issue I cant
quite figure out.  I have a registration form that a user fills out to
become a member.  I want to capture the time they fill out the form so
I added a date_added field in my database.  In the form the field
would normally be called as so echo $form->input('date_added'); but I
wanted it hidden so I did this echo $form->hidden('date_added'); which
for some reason returns all 0's in the timestamp.  Then I was thinking
that even if I did get it to pass the current time a user could just
edit that to change their date added.

So the question is, how do I pass a timestamp without the user seeing
it and without the user being able to edit it?

Thanks!

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to