How to make a file encrypt and decrypt?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql injections, how do you prevent them and what are the best practices?

749


Which method removes the last element from the end of an array?

709


What are the environmental variables?

784


How do I know my xampp version?

721


What is laravel php?

775


Is php a mvc?

689


How can we destroy the cookie in php?

731


Tell me how do you define a constant?

709


Write a program to display table of a number using php?

672


What are the string function in php?

734


What is apache and php?

688


What is array and function?

775


Write syntax to open a file in php?

751


What is the main function of php?

786


What is a php 5?

740