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 this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-AMF-AS3-VO-String-reference-issue-tp2334773p2340840.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to