# How to post variable using getURL?

**URL:** <https://forum.kirupa.com/t/how-to-post-variable-using-geturl/235483>\
**Category:** flash\
**Created:** [August 11, 2007, 5:43pm UTC](https://forum.kirupa.com/t/how-to-post-variable-using-geturl/235483 "2007-08-11T17:43:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artcoder](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@artcoder](https://forum.kirupa.com/u/artcoder)\
**Post date:** [August 11, 2007, 5:43pm UTC](https://forum.kirupa.com/t/how-to-post-variable-using-geturl/235483/1 "2007-08-11T17:43:00Z")

</div>

Why am I not able to pass variable to PHP using getURL?

I have this actionscript …

```auto

var bb_debugcount:String = "4";
getURL("myserverpage.php", "_self", "POST");

```

And I have this in myserverpage.php…

```auto

<?php echo "answer is " . $_POST['bb_debugcount']; ?>

```

All that comes out is “answer is”. The post variable is not there.
