Thanks for the response Karl. the php version is 5.2.5 and I don't think it 
changed recently. It seems lots of people are reporting this problem with 
CS4/CS5 and FP10. none of the solutions on google seem to be helping. I have 
tried encoding the URLLoader.data as variables and as text, on the php side i 
have tried echoing "sentOk=" .sentOk, "&sentOk=", "?sentOk=", "sentOk=true", 
"success". Either an #2101 error is pulled when using variables, when using 
text no error occurs but the php doesn't send the email. Has anyone run into 
this problem? Or has an example of sending and returning vars with a php script 
that they know works in CS5 with AS3 for comparison. This is doing my head 
in!!! 
Thanks in advance

> From: k...@designdrumm.com
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] error 2101 urlvariables decode
> Date: Tue, 18 Jan 2011 13:35:22 -0600
> CC: flashcoders@chattyfig.figleaf.com
> 
> What version of php was that file made for and what version of php do  
> you have on the server? or better yet, did they upgrade the php on  
> your server to a newer version. that may make an old php file not send  
> anymore.
> 
> JAT
> 
> Karl
> 
> Sent from my iPhone
> 
> On Jan 18, 2011, at 8:01 AM, David Hunter <davehunte...@hotmail.com>  
> wrote:
> 
> >
> > Happy New Year everyone!
> > Recently updated a site that has a registration form which is now  
> > throwing an error. I didn't change anything to do with the form. It  
> > now throws an error #2101: The String passed to URLVariables.decode 
> > () must be a URL-encoded query string containing name/value pairs.
> > I've looked on google and there seems to be some conflict whether it  
> > is a problem with the flash side or PHP side. I know that this has  
> > only occurred since updating another section of the site. I am now  
> > using CS5 but I was previously on CS3. I have tried changing my  
> > URLLoaderDataFormat.VARIABLES to TEXT and it throws a different  
> > error #1069: Property sentOk not found on String and there is no  
> > default value. (sentOk is the name of the variable I echo back from  
> > the php to know that an email has been sent).
> > A snippet of the flash code is here: http://pastebin.com/pTzZKkMS  
> > The PHP code that handles the signup is here: http://pastebin.com/FzbMdB7e
> > The site has been running fine for over a year with pretty much the  
> > same actionscript code, the PHP side hasn't changed in years, this  
> > error only crept in 3 days ago. It doesn't just throw an error but  
> > also fails to send an email from the php side.
> > Any and all help greatly appreciated,
> > David                          
> > _______________________________________________
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
                                          
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to