Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Javascript (http://www.velocityreviews.com/forums/f68-javascript.html)
-   -   get checksum from file (http://www.velocityreviews.com/forums/t924079-get-checksum-from-file.html)

lam91 04-06-2006 10:51 PM

get checksum from file
 
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


mike@youell.net 04-10-2006 01:47 AM

Re: get checksum from file
 

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.
http://www.yourdomain.com/cgi-bin/ad...34587634587634

If would also recommend adding a password for the script.

e.g.
http://www.yourdomain.com/cgi-bin/ad...=4563456346456

(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,
Thanks,
Mike Youell.



All times are GMT. The time now is 08:06 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.