# How to run a php file from actionscript

**URL:** <https://forum.kirupa.com/t/how-to-run-a-php-file-from-actionscript/249998>\
**Category:** programming\
**Created:** [January 24, 2008, 12:01pm UTC](https://forum.kirupa.com/t/how-to-run-a-php-file-from-actionscript/249998 "2008-01-24T12:01:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sargeonline](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@sargeonline](https://forum.kirupa.com/u/sargeonline)\
**Post date:** [January 24, 2008, 12:01pm UTC](https://forum.kirupa.com/t/how-to-run-a-php-file-from-actionscript/249998/1 "2008-01-24T12:01:17Z")

</div>

Hey,

This is going to (hopefully) sound silly and be a very easy problem to solve. Basically I have a php file that generates a .xml file. I want to be able to run this .php file from flash on a button press, or at the moment I just want to be able to run it.

So yeah, I just want to be able to run the php file from actionscript so it will create the .xml file that I need so I can then post the images from the .xml file.

Thanks in advance!
