gazever Posted May 19, 2007 Share Posted May 19, 2007 Hi I have a question, if I convert all my data input into html entities, I have a username field that I'd like to enter data into, I have this set into my db as a varchar 30, however when i process the data inputted by the user, they could have 30 characters but they all get changed to entitties, which could be 150 characters that i'd enter into my database, how should i go about tackling this? Quote Link to comment https://forums.phpfreaks.com/topic/52145-html-entities/ Share on other sites More sharing options...
bubblegum.anarchy Posted May 20, 2007 Share Posted May 20, 2007 Do not store the password as htmlentities. Quote Link to comment https://forums.phpfreaks.com/topic/52145-html-entities/#findComment-257274 Share on other sites More sharing options...
gazever Posted May 20, 2007 Author Share Posted May 20, 2007 i dont, ive md5'd the password, should i just increase the varchar 30 to a number that would be ok if all characters were htmlentities? Quote Link to comment https://forums.phpfreaks.com/topic/52145-html-entities/#findComment-257458 Share on other sites More sharing options...
bubblegum.anarchy Posted May 20, 2007 Share Posted May 20, 2007 sure... 150 should be enough. Quote Link to comment https://forums.phpfreaks.com/topic/52145-html-entities/#findComment-257914 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.