PDA

View Full Version : what is idhash field used for in picture table?


sailnet
11-30-2009, 08:13 PM
can someone tell me what the idhash field is used for in the picture table.

I'm finishing up code to allow my forum users to upload images into that table and want to know if I should be concerned with keeping that field 'accurate'.

thanks in advance,

:) me

kh99
11-30-2009, 09:05 PM
I'm not sure, but it looks to me like it's just a random id that's used to create a unique file name. It looks like it's set once when the picture record is saved using md5(fetch_random_string()).