Just a tip: you should not use a GET to make any kind of changes on the server, only to request information from the server. Use POST to make changes on the server.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of rob costello > Sent: Monday, May 15, 2006 9:39 PM > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] url encoding in flash? > > hello all > > Is there a method / function to URL encode a query string from inside > flash - or do we have to do that manually? > > I have a situation where I need to do an XML sendAndLoad to > an external > php file > > I want to do this as GET and pass a parameter to the query > string of the > php file > > The parameter is itself a URL with a complex query string (contains > characters such as & and =) > > Not surprisingly, this breaks how php reads in the query string - > causes it to think there are extra name / value pairs in the url > > So I'm thinking if there was a URL encoding routine in Flash I could > pass the parameter safely, and get php to deencode > > Any help appreciated > > Rob > > > > > Important - > This email and any attachments may be confidential. If > received in error, please contact us and delete all copies. > Before opening or using attachments check them for viruses > and defects. Regardless of any loss, damage or consequence, > whether caused by the negligence of the sender or not, > resulting directly or indirectly from the use of any attached > files our liability is limited to resupplying any affected > attachments. Any representations or opinions expressed are > those of the individual sender, and not necessarily those of > the Department of Education & Training. > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com