Folks,
I've heard of buffer overflows being used/abused by hackers and believe one
method to reduce this from happening is to check the length of my form data
before writing it to my MySQL database.
Is my understanding correct?
At the moment, I pass all my data through htmlentities() before writing to
my database. Is this enough? Should I check each individual columns length
first, or perhaps the overall content length to fit within the maximum
record length?
I found a function called mysql_escape_st ring() and have thought of using
it - but other than strip_slashes() , I don't know the reverse (unless
strip_slashes() is the recommended opposite of mysql_escape_st ring()).
Can someone advise? Much appreciated,
--
Replies please... via the newsgroup, so everyone can learn...
Thanks,
Randell D.
Comment