Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-14-2001, 01:33 AM   #1
Registered User
Join Date: Jul 2001
Posts: 7

Hello all,

I'm trying to get flashes xml option to post (via xml.send()) to a php page. But mostly, my question is about php. How do I handle that data in PHP ? Where is it stored and what does it look like ? I seem to be having trouble.

What I'm looking for is if someone could post a very short php example script that they use to accept and do SOMETHING with the data. If I could just see a short example I know I could figure the damn thing out the rest of the way. I'm just pretty clueless as to where to start. I know actionscript, I know XML, and I know PHP. But I just seem completely clueless about how to get them to work together.

Thanks in advance.

-- Wolf
wolf is offline   Reply With Quote
Old 07-14-2001, 02:22 AM   #2
ActionScript.org Founder
Jesse's Avatar
Join Date: Nov 2000
Location: New York
Posts: 8,736

There are lots of tutorial here which use PHP and mySQL interaction. The counter tute, the send mail tute, the e-cards tute, the loadvariables Interaction (probably the best for what you're after) tute.

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 07-14-2001, 09:18 PM   #3
Registered User
Join Date: Jul 2001
Posts: 7
Default XML is what I am after,

XML posting and handling is what I am after. LoadVariables I know how to use.
wolf is offline   Reply With Quote
Old 07-17-2001, 02:20 PM   #4
Registered User
Join Date: Jul 2001
Posts: 7
Default Part of the problem...

Posting this to be thorough. This is what I found:

Supposively, since XML is not normal url encoded post data - it should be stored in $HTTP_RAW_POST_DATA. But...

In PHP $HTTP_RAW_POST_DATA only exists when the mime type of the POST is unrecognized. This is a problem when it's flash submitting XML.

Here's a informative link:

Apparently it's a PHP limitation and has nothing to do with Flash. Unsure if the PHP developers plan on a fix.


wolf is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
loading xml in flash mx using php slamdunke Components 2 12-06-2004 09:29 AM
sendAndLoad XML to PHP boles ActionScript 2.0 2 12-06-2004 05:27 AM
When to output data from php in Flash snapple Server-Side Scripting 11 07-23-2004 04:25 PM
writing xml using flash and php...stuck! devil ActionScript 2.0 4 06-02-2004 09:56 AM
unescaping html oddballs from xml sent from flash to PHP Philip Toews Server-Side Scripting 30 06-01-2003 02:27 AM

All times are GMT. The time now is 04:37 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.