# Why is this not working?

**URL:** <https://forum.kirupa.com/t/why-is-this-not-working/319303>\
**Category:** Uncategorized\
**Created:** [February 15, 2011, 8:43pm UTC](https://forum.kirupa.com/t/why-is-this-not-working/319303 "2011-02-15T20:43:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo75](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Post date:** [February 15, 2011, 8:43pm UTC](https://forum.kirupa.com/t/why-is-this-not-working/319303/1 "2011-02-15T20:43:40Z")

</div>

Hi, i am trying to send a variable from my swf to a PHP and echo it.

```auto

var my_send:LoadVars = new LoadVars();
my_send.content = "Hello world!!!";
my_send.sendAndLoad("http://localhost/rec_var_from_as.php", my_send, "POST");
stop();

```

here is the code in my PHP

```auto

<?php
$value = $_POST['content'];
print $value;
echo $value;
?>

```

i am just trying to send a value to my php and echo it…  
cant make it work!!!  
Anyone, pls?  
Thanks.  
Cheers!
