On Friday 18 July 2003 03:43 pm, CPT John W. Holmes wrote: > From: "Reuben D. Budiardja" <[EMAIL PROTECTED]> > > > This is a hypothetical situation. The real situation is that I am trying > > to > > > have a protocol for data sent by client using Flash. But the basic > > question > > > remains. > > So FLASH is creating the string that you must decode in PHP? Is there any > way to URL encode things in flash? URL encode the data, separate with & > (just like a query string), and then it'll be easy to decode on the PHP > side.
Flash has its own built in method for sending/uploading data to a URL, using the GET or POST protocol, so that's taken care of. What I am trying to do is to send a structured data set and create my own protocol for doing so. For example, when the Flash send this string col1:[EMAIL PROTECTED]:col4 My PHP code will interpret it as a table, and construct a correspoding HTML table ------|------ col1 | col2 ------|------ col3 | col 4 etc. We will try to send structured data of graph, multiple choice options and answer, etc using this method as well. That's why we have this problem. RDB -- ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ ------------------------------------------------- Have you been used by Microsoft today? Choose your life. Choose freedom. Choose LINUX. ------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php