MD5

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Something like these will work, bottom one being virtually impossible to have any duplicates

Code:
<?php echo md5(microtime()); ?>
Or
Code:
<?php echo md5(rand()); ?>
Or
Code:
<?php echo md5(rand().microtime()); ?>
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Do you want the md5 to stay the same for all downloaders? (One md5 hash per file)
Or does the md5 hash change for each person? (Unique hash created by using certain items from the user db table).
Or does the md5 hash need to change each time the page is loaded? (Random hash created when page loads).

We need more information on what you are trying to do here before we can help you properly
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
I've done some work to store the md5 hash of the file in the code but it wasn't ready for this release. It'll be available in the database as part of the next release.
 

adamncale2489

New Member
YetiShare User
Apr 29, 2013
27
0
0
Checksum. :) Haha. Although random md5 that doesn't match the file checksum could be fun at times
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

Not yet, finishing the release off this week/early next so hopefully soon after.

Thanks,
Adam.
 

adamncale2489

New Member
YetiShare User
Apr 29, 2013
27
0
0
Hey Adam, I see "- Logging of md5 file hashes on upload." but where does this go specifically and how do we add that so users can see md5 on download page? Thanks!