Page 1 of 1

storing blob

Posted: Sat Jul 11, 2009 5:01 am
by xiaomahe
Hi, i had generate private and public key (RSA keys) using php open_ssl code..

but i could not save it into MySQL database, i have tried using varchar(2000), and when i insert it, database shows empty.

I tried blob as well.. but currently i am stuck with blob, i google around, i can only find blob tutorial to store images which is uploaded by users..

My system automatically produced the key, and need to be stored inside MySQL, anyone has a nice tutorial for inserting blob types of data??? please give me the link for reference..

MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwfswk1tQ+sEOUmOgYilM9s6Xw 8E/ajpe7BsfGTKNYg4DIWABP1frePoFVZ8U7/qIOSIqrBrvVaHNsmcZQlGCc8rpS f7ZG7RuimpskswJE2f1swPFJxsWpzbVHj8NtNHEpUiqt/2LcekMdQSaZQhBrdLCX TZNE5s2hsSKItXnCpQIDAQAB

above is an example of the key.. what type of data is that?? binary?? or text?

Re: storing blob

Posted: Sat Jul 11, 2009 6:01 am
by xiaomahe
SOLVED ALREADY!!

How to delete this post?