# How would I

**URL:** <https://forum.kirupa.com/t/how-would-i/24635>\
**Category:** Uncategorized\
**Created:** [July 3, 2003, 12:46am UTC](https://forum.kirupa.com/t/how-would-i/24635 "2003-07-03T00:46:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delsaber](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@Delsaber](https://forum.kirupa.com/u/Delsaber)\
**Post date:** [July 3, 2003, 12:46am UTC](https://forum.kirupa.com/t/how-would-i/24635/1 "2003-07-03T00:46:42Z")

</div>

How would I write to a text file with PHP from a flash file?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2003, 1:05am UTC](https://forum.kirupa.com/t/how-would-i/24635/2 "2003-07-03T01:05:14Z")

</div>

You can use the loadVariablesNum(“myphpfile.php”,“0”,“POST”); command in your flash movie to call your php page, and have “myphpfile.php” be the name of your php page that includes the script to write to your file.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2003, 1:48am UTC](https://forum.kirupa.com/t/how-would-i/24635/3 "2003-07-03T01:48:12Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24666&perpage=15&pagenumber=2](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24666&perpage=15&pagenumber=2)

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=10150&highlight=write+to+file](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=10150&highlight=write+to+file)
