Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > get checksum from file

Thread Tools

get checksum from file

Posts: n/a
I have a mySQL database that I would like to be able to use a form to
upload the information about a file (name, size, checksum) without having
to upload the file itself to the server.

Does anyone have any ideas.

I would be happy with either md5 or crc32

Reply With Quote
Posts: n/a

Not really a javascript problem. You will have to use a server side
scripting language such as PHP.

I would call a script on your sever by accessing a URL with the
embedded data, e.g.

If would also recommend adding a password for the script.


(encrypt the password with md5 or whatever before sending of course).

A server side script (e.g. PHP) would use $_GET['name'],
$_GET['password'] etc... and then use database calls to add the data to
the database.

Note the password is almost certainly required to stop others adding
their own data!

Hope that helps,
Mike Youell.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
checksum calculation for file offsets Ironhide Perl Misc 2 04-27-2010 06:10 PM
calculate MD5 checksum for a file Steve Java 3 05-06-2006 11:41 PM
checksum in the end of the file pradeep C Programming 2 07-09-2003 05:03 PM
Re: How to store a checksum value at end of file? Dave Thompson C Programming 0 07-04-2003 12:21 AM
Re: How to store a checksum value at end of file? Morris Dovey C Programming 2 06-24-2003 11:53 PM