NYCPHP Meetup

NYPHP.org

[nycphp-talk] Saving data from forms

Anthony Wlodarski aw at sap8.com
Thu Feb 7 19:33:37 EST 2008


I was just writing something up and I have a question about saving data from
forms for a password.

 

So the logic for what I want to do is something like this:

 

Input from form -> check for magic quotes(if not then add quotes) -> md5
value -> save to database.

 

Now what happens if you change the logic to:

 

Input from form -> md5 value -> save to database.

 

Other individuals I have discussed this with would say that if you are on a
platform without magic quotes then the md5 values will be different.  Is
this the case?

 

-Anthony

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080207/4b48f9e4/attachment.html>


More information about the talk mailing list