# \[FMX\]2004 Bug on getURL "POST" with PHP?

**URL:** <https://forum.kirupa.com/t/fmx-2004-bug-on-geturl-post-with-php/159449>\
**Category:** Uncategorized\
**Created:** [August 17, 2005, 4:03pm UTC](https://forum.kirupa.com/t/fmx-2004-bug-on-geturl-post-with-php/159449 "2005-08-17T16:03:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arkanoid](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@arkanoid](https://forum.kirupa.com/u/arkanoid)\
**Post date:** [August 17, 2005, 4:03pm UTC](https://forum.kirupa.com/t/fmx-2004-bug-on-geturl-post-with-php/159449/1 "2005-08-17T16:03:11Z")

</div>

Hi all

I think that may be a type of “bug” or something like that in the getURL function from flashMX 2004.

Ok, let me explain.

the flash code is this:

```
busqueda_doc.varx=anyvalue;
busqueda_doc.vary=othervalue;
busqueda_doc.varz=yetothermore; (that's about 30 vars)

getURL("doc.php?"+random(1000),"_blank", "POST");

```

that is supposed to open a browser window, and send the variables on the movie by POST mode. (don’t look that random, it’s just the no-cache-trick)

well, then in the doc.php just can’t reach the variables!

$resultado\_post=$\_POST[“busqueda\_doc”]; and  
$resultado\_posto=$HTTP\_POST\_VARS[“busqueda\_doc”];

seems to get the data in a nasty “raw” mode … just like

busqueda\_doc=varx=value%50first&vary=value%40second…etc…

that’s the only thing i can get by now, i tried all i know, but still not having results.

can only passing variables by post with the “send” command ?  
busqueda\_doc.send(url,etc,etc); \<— that worked, i was able to get the vars  
with $jvarx=$HTTP\_POST\_VARS[“jvarx”]; but not useable for me, i need a new browser window, opening the new page in a different browser.

Any Ideas ? Any colaboration will be great. Thanks All !
