converting hex to ascii

Hi everyone!
I was wondering if anyone knows how to change hex code back into ascii.

when i process a form:
" / " turn to " %2F "
" @ " turns to " %40 "
" ' " turns to " %27 "
" ( " turns to " %28 "
" ) " turns to " %29 "

this is my code so far: order.txt

thanks,
primal

p.s. hopefully when i log out of my terminal where the file is... the permissions arent reset this time!!

There are libraries available which can save you a lot of work and do this for you. Since you are writing in C you might be interested in eekim.com: cgihtml

If you use perl, look for the CGI.pm module.