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
What does it mean when it says the csrf token is invalid?
Where sessions stored in PHP?
What is $globals php?
What the difference between the 'bitwise and' operator and the 'logical and' operator?
How to set a page as a home page in a php based site?
can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.
What does $_ post mean in php?
Can we extend two classes in php?
Difference between mysql_connect and mysql_pconnect?
How can we calculate the similarity between two strings?
What is the difference between Split and Explode in PHP?
Explain what are the different errors in php?
What is encapsulation in oop php?
How can I prevent sql-injection in php?
How to get the ip address of the client?