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?
Complete thread:
- setting request.body - steve, 2009-12-22, 05:20
- Re: setting request.body - steve, 2009-12-22, 05:52
- Re: setting request.body - woddrazen, 2009-12-22, 09:42
- Re: setting request.body - steve, 2009-12-22, 05:52