hi all

i need to know how to encrypt basic code sections of PHP that contain the answers of questions, i am doing a PHP questionnaire type program

and just need some tips on how to use encryption to hide the answers

ive looked at PGP but its a bit complex...i just want some code i can stick in with the other code 🙂

thanks.
John
email trancemusic@eircom.net

    hmm... unless PHP happens to fail, your users should not be able to view the serverside code (e.g. PHP code).

    So it probably would be easier if you design your questionnaire to rely on answers stored serverside.

      store your answers in an SQL database..

      if you really want to hardcode the answers into the script, use an [man]md5/man hash.. one-way encryption..

        Write a Reply...