This content has been marked as final. Show 5 replies
that should be
in your php
You also may want to change to this
send= "<?xml version=\"1.0\" encoding=\"utf-8\"?><products>";
but perhaps that is not strictly necessary.
i also did. (adding <?xml version=\"1.0\" encoding=\"utf-8\"?>) but didnt work. i guess it is a flash problem.
if i execute PHP, the result is :
but executing flash, there is no result. if i create a XML file and put these datas in it, it works.
a)Are you testing that in the browser? If not, that won't work from flash test movie mode as it is.
You would need to use:
(assuming you have a webserver/php running locally with a normal setup)
from test movie mode. Otherwise it would presumably just be trying to load the file send.php from the local file system. It would work ok via a browser where the page was loaded via http also.
b)Also double check that you have no white space before the opening php tag and after the closing one.
c) And, for good measure (although with your xml output it doesn't look to be needed):
var xm:XML = new XML ();
yeah i got it. thank you very much.i forgot adding `localhost` .
no problems, you're welcome.