Since it isn’t being answered in the Flash/AS3 forums, it can’t hurt to copy it here.
In this instance, loader is a URLLoader object.
ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#000000]**var**[/COLOR] [COLOR=#0000ff]url[/COLOR]:URLRequest = [COLOR=#000000]**new**[/COLOR] URLRequest[COLOR=#000000]([/COLOR][COLOR=#ff0000]"script.php"[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#0000ff]url[/COLOR].[COLOR=#000080]method[/COLOR] = [COLOR=#ff0000]"POST"[/COLOR];
[COLOR=#0000ff]url[/COLOR].[COLOR=#0000ff]data[/COLOR] = stringData;
loader.[COLOR=#0000ff]load[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#0000ff]url[/COLOR][COLOR=#000000])[/COLOR];
[/LEFT]
[/FONT]
How do I pick up url.data in PHP? I assume it’s $_POST[‘something’] but the way I have this set up and the data I am using means I can’t simply print_r ($_POST) in PHP to find out…
Appreciate any help!