setting request.body (General questions)
i'm having trouble getting variables to pass on a php when i set the body directly. my goal here is to start passing multipart forms with files through this, but i realized i can't even send a simple var.
on my php side i just have :
<? print_r($_POST); ?>
(which prints all the POST vars...)
when i do
HTTPX.Request.Body = yeah=okay
my response :
Array
(
)
when i use the formpost:
HTTPX.Request.FormPost.Add( yeah , okay )
my response:
Array
(
[yeah] => okay
)
i know i've done this before but i can't figure out why this isn't working.. any suggestions?