I've got an actionscript code supposed to run a php script which, to make sure the error is not on it but on the AS code, I've reduced to creating a plain text file. After the line supposed to call the php script, I've got a call to 'trace' in order to make sure that the line is run. Given this, looks like 'the script is run', but there's no new file.
Here's the important code:
AS
const iURL:String = "i.php";
var myLoader:URLLoader = new URLLoader();
myLoader.load(new URLRequest(iURL));
php
$ourFileName = "playlistTEST.xml";
$ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
fwrite($ourFileHandle,"CREATED");
fclose($ourFileHandle);