php - error when unserialize the serialize data -


serialize data

      a:8:{s:10:"first_name";s:6:"harish";s:9:"last_name";s:5:"verma"; s:5:"email";s:16:"harish@facebook.com";s:7:"address";s:6:"jaipur";s:4:"city";s:6:"jaipur";s:5:"state";     s:9:"rajasthan";s:12:"country_name";s:5:"india";s:7:"cell_no";s:10:"8787878787";} 

it return true when change email harish@gmail.com .... please , in advance.

if notice in serialized data have section defining email address

s:16:"harish@facebook.com"; 

thats says field string of 16 characters. the string in field not 16 characters 19 characters

so guess manually fiddling data after has been serialize()'d

if going manually mess serialized data have make add up. either stop manually editing , re serialize() data or remember change size parameter data match edits.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -