Can’t work this one out. Doing the normal stuff, ie:
var var_load:URLLoader = new URLLoader;
var URL_request:URLRequest = new URLRequest("./get_data.php");
URL_request.method = URLRequestMethod.POST;
var_load.load(URL_request);
And when running the swf locally, the request’s response comes back containing the uninterpreted php - ie. the php file’s contents itself.
Upload everything to a web host though, the server executes the php fine and returns the expected data.
PHP is running fine on my local server - displaying the local php file in a browser sees it execute.
Is there some mechanism different here? The php file is being found ok, the local server just isn’t executing it.