Do you have a question? Post it now! No Registration Necessary. Now with pictures!
June 15, 2005, 12:04 am
rate this thread
I looked through the manual and did some Googling but I couldn't find any
functions/classes that would allow me to encrypt/decrypt files with PHP.
Here's what I want to do: I have a certain file on my server let's say
/home/joe/test/aaa.txt. I want to encrypt that file with a password and save it
under the same/different name. When I'm decrypting my file the function must
return the "decrypted" file regardless of the given password. Of course if a
wrong password is given the "decrypted" file is still going to be encrypted :-)
but returned anyway.