Using C# to duplicated PHP serialized data in MySQL -
i'm trying use c# duplicate php serialize functionality, can save data correctly in mysql database.
the data save php serialized data, except unknown characters.
for example, data saved php looks "a:5:{s:12:"post_name"..." in sqlyog.
but when copy text editor, looks a:5:{s:12:"?post_name"...".
anyone have idea "?" character is?
thanks!
| what method using serialize in c#? – valentin mar 6 '14 @ 11:40 | ||
| binaryformatter, ? set php (i can't identify ? means, can duplicate in c#) – louisa mar 6 '14 @ 11:43 | ||
| that question mark might php trying serialize null character / value. @ link: stackoverflow.com/questions/8238463/… – valentin mar 6 '14 @ 11:51 | ||
| thanks. i'll take , see if can duplicate mysql_real_escape_string() – louisa mar 6 '14 @ 12:29 |