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 is a definer in mysql?

541


How can we check the value of a given variable is a number?

598


What is the best way to test the strpos() return value in php?

524


What is the difference between md5(), crc32() and sha1() crypto on php?

605


How to run a php script?

564






How to insert an new array element in array?

528


How to read one character from a file?

531


What is meant by variable variables in php?

524


How the web server interprets php and interacts with the client?

498


How to track user logged out or not? When user is idle?

505


Tell me what does pear stands for?

543


Is empty java?

527


How do you call a constructor for a parent class?

501


Tell me how to retrieve a cookie value?

524


Tell me what is the definition of a session?

544