Thanks for helping me with this! I'm using version 1.10.0 of Zend_Amf
Besides Charles showing that the duplicate string is type as a string reference, I'm logging the SQL statement that is created and that doesn't show the duplicate string as a string, but as a string of strange characters, which I assume is the string reference object. As for the issue, I 'm also worried that I even have to mention this ;-) On 27 aug 2010, at 11:48, gruby_karol [via Zend Framework Community] wrote: > MrMastermindNL wrote: > Thanks for your test, but that is not really the issue I'm having. > > The problem I'm having is that the duplicated string that are sent to PHP is > encoded as a string reference. And I want to write the string to the database. > In my code I send 5 strings from Flash to PHP (Zend_Amf). > I read the on the server side and send them back. > Sounds similar to me :-). In your case you, instead of sending the data back, > save them to the database. > (It's not shown in my code, but I also write the params to log, and they are > ok: > ["str1","str2","str1","str3","str1"].) > > > MrMastermindNL wrote: > So the real issue is actually getting the string from the reference to write > to the MySQL database. > For me the issue is that you even have to worry about this :-) > AMF encoding/decoding should handle this well. > > Maybe string reference is not a problem? I understand you see it in Charles. > Do you log your data on the php side? What version of Zend_Amf you use? > > > > View message @ > http://zend-framework-community.634137.n4.nabble.com/Zend-AMF-AS3-VO-String-reference-issue-tp2334773p2340840.html > > To unsubscribe from Zend AMF, AS3 VO String reference issue, click here. > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Zend-AMF-AS3-VO-String-reference-issue-tp2334773p2340860.html Sent from the Zend Framework mailing list archive at Nabble.com.
