Hi all
i am creating a web application and i would like to generate a md5 checksum on an uploaded file while uploading
can i just add

md5($file);

or is there another way to add a checksum
thanks

Hi,

I think it should be md5_file($file), as shown in the function description here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.