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.
So the real issue is actually getting the string from the reference to write to
the MySQL database.
On 27 aug 2010, at 11:26, gruby_karol [via Zend Framework Community] wrote:
> If I get it right, you hava a problem when calling a service with strings
> parameters and the values of the strings are the same.
>
> I've just done a test.
>
> I have a service:
> class World {
> /**
> *
> * @param String $param1
> * @param String $param2
> * @param String $param3
> * @param String $param4
> * @param String $param5
> * @return String
> */
> public function strref($param1, $param2, $param3, $param4, $param5) {
> $this->logSession("param list: " . json_encode(func_get_args()));
> return "hello, " . "$param1, $param2, $param3, $param4, $param5";
> }
> }
>
> [class truncated to fit the post.]
>
> From my flash app I call:
> myService.call(strrefService, new Responder(onSimpleOk,onFault), "str1",
> "str2", "str1", "str3", "str1");
>
> And I get correct results:
> hello, str1, str2, str1, str3, str1
>
> Duplicated strings were decoded properly.
>
> I use ZF1.10.07 (with Zend_Amf included in the distribution) and Flash CS5.
>
>
>
>
> View message @
> http://zend-framework-community.634137.n4.nabble.com/Zend-AMF-AS3-VO-String-reference-issue-tp2334773p2340820.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-tp2334773p2340831.html
Sent from the Zend Framework mailing list archive at Nabble.com.