Help - Search - Member List - Calendar
Full Version: no autoincrement IDs
Krazy Letter Forums > Members stuff > Computer Programs > PHPKImageHost
Wolfgang Trellert
It would be better if this script would use no autoincrement IDs. This makes it easy to "sniff" for images uploaded by others. I would suggest to use an MD5 sum (of the date and time for example) or even better a real random string encoded with BASE64.

Wolfgang
Guest
QUOTE(Wolfgang Trellert @ Nov 23 2005, 03:43 PM)
It would be better if this script would use no autoincrement IDs. This makes it easy to "sniff" for images uploaded by others. I would suggest to use an MD5 sum (of the date and time for example) or even better a real random string encoded with BASE64.

Wolfgang
*



So why don't you explain how to do this? smile.gif
Guest
$id = md5(rand(1,99990000));
brian
QUOTE(Guest @ Dec 22 2005, 05:01 AM)
$id = md5(rand(1,99990000));
*



That's really no help.
Spaceman3750
Sure it is, although just using plain MD5 would be easier...
lappy512
As I said before, there's no point in making users see http://imagehost.com/view/0478a7e98a7b098eabe8a9e78bea9 or something as their URL, that's just so unnatural.
djbob
I think autoincrement is quite fine. Anyways, Google ignores URLs with a bunch of characters in the URL.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.