I have a string encrypted using the function crypt() . I know this is a one way encryption but I would like to know if there is a way to revert back the string to the un-encrypted value. Any ideas?
no but if you want to do that to compare two things... you could assign $temp_var to what ever you want to compare with the crypted data and then crypt that and then compare the two crypted variables.