lol i dont know, JPEG files are full of \0 characters. And when you delete them you get a different picture. So why do they get deleted automaticly in a textarea and how can i tell firefox not to do that?
A jpeg file in a textarea? Sounds hilarious to me. Maybe you could keep it base64-encoded until you recieve it on the serverside again? You could also try using using the htmlentities function and print the jpeg to a hidden form field:
Picture a database with one column that contains blob information. Now think of a sql statemant that updates one of the blob's (in this case jpeg). Believe me you will have some freaking looking sql statemant with a lot off weird characters. I am trying to visualise this sql statemant trough a textarea with as little overhead as possible currently phpmyadmin visualise it with a hex number witch is not a good idea for big files.
Again wait until my version is finished and have my gpl license stampelt on it, and it will all be clear