Quote:
Originally Posted by retroanalyst
I don't follow. The gallery hash is a string, why would you care how long it is?
|
When you create a standard sql type database (mysql,mssql,oracle), you set structure around your data. So in the field for the gallery hash, I say that this field should be 5 characters long and a type of standard characters (letters numbers, etc). I did the same thing for my imagebam database. Since their gallery hash is 32 characters long that is the length allowed in that field in the database I made for that upload tool.
This gets into protecting your inputs, and data validation. If you were to have a field of only numbers you would limit it to only integer inputs so no one could accidentally put letters there.
I do IT for a living....
__________________
My posts are scripted, sorry if the preview images aren't great, but the whole gallery is in the link
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
If I post any duplicates, please PM me and I will remove them