PGP and Mysql

admin

Administrator
Staff member
Trust me to be doing something no one else is!

Help!

I'm trying to put a PGP coded string into the mysql database, and then decode it again.

Simple huh?

Noway. I can code it, but it doesn't decode properly.

I am using Delphi and PHP to do the coding bit, then Delphi to decode. I've been testing the Delphi - Delphi bit just now, so as to avoid any other potential problems.

Basically the string is coded

a \ is put in front of every '

It is uploaded to the mysql db to a LONGTEXT field

That works - at least it arrives in the db.

Then, later

It is downloaded from the mysql db
and decoded

and I get bad data packet as an error

Can anyone help me please please please!

Regards

Elizabeth
 
Back
Top