I tried your code and it worked perfectly. The two POST variables admin_action 
and place_next showed up in the $_POST array as $_POST["admin_action "] and 
$_POST["place_next"] with the values add and 2 respectively. The sec variable 
showed up in the $_GET array as $_GET["sec"] with the value user.

Charles (http://www.charlesproxy.com) showed the variables correctly as well.

If you are actually doing a POST, you would not end up with the URL you posted. 
POST variables are not appended to the URL. I do not understand where you got 
that URL from.

At any rate, what is the problem you are seeing? I cannot fault HTTPService.


Steve



--- In [email protected], "joel.sisko" <joel.si...@...> wrote:
>
> Newbie problem, I think, I need to POST to a php script that has underscores 
> in the variables names. Using the code below the underscores are sent as &5F
> 
> So the result is:
> 
> http://localhost/admin/index.php?sec=user&admin&5Faction=add&place&5F=2
> 
> 
> <mx:HTTPService resultFormat="text" result="userResult(event)" 
> id="httpAdduser"
> url="http://localhost/admin/index.php?sec=user"; showBusyCursor="true" 
> useProxy="false"
> method="POST">
> <mx:request xmlns="">
> <admin_action>add</admin_action>
> <place_next>2</place_next>
> </mx:request>
> </mx:HTTPService>
> 
> I will welcome any workaround, Action Script based, mod-rewrite, tin foil and 
> bailing wire...
>


Reply via email to