FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour http:post in Fivewin
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
http:post in Fivewin
Posted: Thu Feb 05, 2015 11:30 AM

Hi all,
I need to send some info via http:post
how can I convert this php code in fivewin ?

for a single element dataI Always used
hFormData := {=>}
hFormData["sender"] := "LOGIC SRL"
..
..
oHttp:Post(hformData)

but in this case I have multiple elements

// SENDER DETAILS
$_param["sender"] = "LOGIC SRL";
$_param["posta_options"]["sender"]["indirizzo"] = "Via Zama 4";
$_param["posta_options"]["sender"]["cap"] = "20110";
$_param["posta_options"]["sender"]["citta"] = "Milano";
$_param["posta_options"]["sender"]["provincia"] = "MI";
$_param["posta_options"]["sender"]["nazione"] = "Italia";

Thanks in advance

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: http:post in Fivewin
Posted: Sat Feb 07, 2015 02:42 AM

Marco,

Please search in these forums for XMLHTTP post

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion