Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

How to make a file encrypt and decrypt?

Answer Posted / prabhu

md5_file()...
example...



<?php
$filename = "test.txt";
$md5file = md5_file($filename);
echo $md5file;
?>

output:5d41402abc4b2a76b9719d911017c592

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between php and html?

199


Explain what are some new features introduced in php7?

193


What are access specifiers?

216


What are the features of php?

205


Is null check in php?

179






Is php a programming language?

204


Whether it is possible to share a single instance of a memcache between multiple php projects?

233


When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?

215


What is oops php?

200


I am writing an application in php that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with php?

210


What is csrf verification?

198


What is a comment in php?

324


How can we access the data sent through the url with the get method?

231


Is php better than java?

187


What software is required for php?

214