How do I execute php code which is in another file from my flex application?
The php code I want to execute (nice and simple)
<?php
echo "My first PHP script!";
?>
So I want the above to execute. So far I have this in my flex application:
<mx:HTTPService id="userRequest" url="C:\Users\blah\blah\blah\src\ItemTableService.php" useProxy="false" method="POST">
</mx:HTTPService>
</fx:Declarations>
<mx:Button label="Submit" click="userRequest"/>
So I'm running it locally at the moment. I think there needs to be something on "click-"userRequest.(somethinghere)"/> but not sure what it needs to be.