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 4 of 4
  1. #1
    Senior Coder
    Join Date
    Nov 2010
    Posts
    1,381
    Thanks
    264
    Thanked 32 Times in 31 Posts

    using checksum on final php script folders.

    How popular is using the checksum application in the final polish before script release.

    One of the projects i am working on is a version control script but that is on the back burner right now as i have to get my other stuff up to date.

    Normally what i do is once i get the test environment fully tested i just download those files and encrypt it, pack it up and its ready to go.

    But in this case i thought i would try something different to learn something today, especially in the event of something getting corrupted in the process.

    So i did some checking on using checksum application for windows on my entire script folder and wanting to make sure it matches the downloaded one.

    I dont know honestly if this is common practice, or a necessary evil, or if i should use something else.

    Just thought i would ask.
    Last edited by durangod; 02-08-2013 at 04:35 PM.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    So long as I have a checksum available from the source, I always use a checksum to verify it. It just makes sure you get the file as expected, so it didn't download corrupt or intercepted and modified.
    Typically these are things like packages though, not each individual file.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    Senior Coder
    Join Date
    Nov 2010
    Posts
    1,381
    Thanks
    264
    Thanked 32 Times in 31 Posts
    Yeah that was my plan is to use it on the final production copy just to make sure.

    Can you checksum a zip or rar file or does it have to be uncompressed?

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Quote Originally Posted by durangod View Post
    Yeah that was my plan is to use it on the final production copy just to make sure.

    Can you checksum a zip or rar file or does it have to be uncompressed?
    You should be able to checksum any file. Checksum's are calculated by the binary within it, so it doesn't matter the format.
    Note that that a compressed file will have a different checksum than an uncompressed file.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • Users who have thanked Fou-Lu for this post:

    durangod (02-08-2013)


  •  

    Posting Permissions

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