> > Alice Wei wrote: > > > >> Date: Thu, 25 Feb 2010 13:50:16 -0600 > >> From: nospam@xxxxxxxxxxxxx > >> To: ajwei@xxxxxxxxxxxxx > >> CC: php-general@xxxxxxxxxxxxx > >> Subject: Re: PHP "GET" Error? > >> > >> Alice Wei wrote: > >>> Hi, > >>> > >>> I forgot to mention that the url is formed from Actionscript, I am just using PHP to do the "I/O" because Actionscript does not have this option. > >>> > >>> So, I guess I cannot do the serialize here like you suggested. I have changed # to 0x for now, and that does not seem to help yet. > >>> BTW, below is the complete code, would this help with my choices? > >>> > >> I haven't used actionscript, but it's javascript basically yes? > >> > >> Use encodeURI() or encodeURIComponent() on the data. > >> > >> > > Yes, and no. But, I did find the function in the Actionscript library, and I used the new url to pass through to PHP. Looks like it still didn't work, could the length be an issue? > > > > BTW, these two variables start off from Actionscript as "arrays", but would knowing this here help? It would be nice that I can just pass them on as arrays (I had to "turn them into strings" before I passed to PHP). > > > > Thanks for your help. > > Those functions will work if you do it properly. As for arrays, the > only way I know of in js is to json encode them and then you can use the > PHP json_decode() to get them back. There is no native js function to > do this, however there may be one in the actionscript library or there > are some functions on the web that people have written. > > Wait, I found this: http://code.google.com/p/as3corelib/ > > Functionality may already be in As, but may be of use. > > When you meant function, do you mean the function from my PHP end to turn it into array, or Actionscript? Based on the url I sent Ashley, do you think that is something that would work? Thanks. > -- > Thanks! > -Shawn > http://www.spidean.com _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/201469227/direct/01/