How to make a file encrypt and decrypt?
Answers were Sorted based on User's Feedback
Answer / prabhu
md5_file()...
example...
<?php
$filename = "test.txt";
$md5file = md5_file($filename);
echo $md5file;
?>
output:5d41402abc4b2a76b9719d911017c592
| Is This Answer Correct ? | 14 Yes | 3 No |
Answer / shailesh
Hello
You can use base64_encode and base64_decode for file encrypt
and decrypt.
With base64_encode you can encrypt the file name. and
With base64_decode you can decrypt the file name.
Thanks
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / michael jerold
you have to use md5() or CRYPT() it functionally work well i
got result
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / c.balamurugan
<html>
<body>
<form action="a.php" method="post" enctype="multiform/form-
data">
//<form element>//
</form>
</body>
</html>
| Is This Answer Correct ? | 1 Yes | 10 No |
Explain about PHP cookies?
When to use single quotes, double quotes, and backticks?
How to remove duplicate values from array using php?
Tell me what is the definition of a session?
How to delete cookie files on your computer?
How can I find the width and height of an image resource?
2 Answers Rushmore Consultancy,
recurring account in PayPal payment gateway?
1 Answers A1 Technology, HBL, HBL Power Systems, IBM,
What is faster?
What are magic constants in php?
What is lamp in php?
How to get ip address of a server in php?
hi to all i am fresher in php and want to learn php and want a fresher job in php. how to total time i expend to learn php and what is freshers salary.