# Using LoadVars to send data by POST

**URL:** https://forum.kirupa.com/t/using-loadvars-to-send-data-by-post/173428
**Category:** flash
**Created:** [December 25, 2005, 5:24am UTC](https://forum.kirupa.com/t/using-loadvars-to-send-data-by-post/173428 "2005-12-25T05:24:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Extrakun](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/extrakun/32/2008_2.png) [@Extrakun](https://forum.kirupa.com/u/Extrakun)
#### Post date: [December 25, 2005, 5:24am UTC](https://forum.kirupa.com/t/using-loadvars-to-send-data-by-post/173428/1 "2005-12-25T05:24:29Z")

</div>

Hi all,

For some frustrating reasons, Flash MX is refusing to send data to my PHP page using the POST method. Here’s the code I use:

```auto

dataLoader.send("http://localhost/coe/register.php", "_self", "POST");

```

However, it always got send as a GET. I have no idea why, and the strangest thing of all is that sendng by POST was working only a couple of days ago! I didnt touch the Flash file save for the PHP script.

Any ideas?
