Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How I can compare if two flashes are the same?

    Hi,

    Is it possible to compare if one flash the user uploaded is the same as the one we already have in the server by php?

    Thanks for helping!

    Xiaoxia

  • #2
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    Perhaps md5_file()?
    Are you a Help Vampire?

  • #3
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I would use any number of checksums on the file. MD5 should work very well. The issue is that you cannot compare checksums until the file is already uploaded.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •