Using wininet how to send POST as Encoded over php

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
HINTERNET hConnect = InternetConnect(hSession, "www.xyz.com", INTERNET_DEFAULT_HTTP_PORT, NULL, NULL, INTERNET_SERVICE_HTTP, 0,1);<br/>
HINTERNET hRequest = HttpOpenRequest(hConnect, L"POST", /post.php, NULL, NULL, accept, 0, 1);<br/>
HttpSendRequest(hRequest, hdrs, wcslen(hdrs),content, size);<br/>
<br/>
how will we send content as encoded ?<br/>
<br/>
like we get buffer -> its hex encoded -> post over php<br/>
<br/>
but how ?

View the full article
 
Back
Top