View Single Post
IloveMusic
Junior Member
Join Date: Nov 2014
Old 03-18-2015 , 11:05   Re: [EXTENSION] cURL & Hash
Reply With Quote #130

Curl extension hates me. I can't post data to any secure website ( "https" ). It just returns nothing.
I tried this.
PHP Code:
CURL_DEFAULT_OPT(curl);

curl_post curl_httppost();
curl_formadd(curl_postCURLFORM_COPYNAME"game_time"CURLFORM_COPYCONTENTSunixstampCURLFORM_END);
curl_easy_setopt_handle(curlCURLOPT_HTTPPOSTcurl_post);

curl_easy_setopt_int(curlCURLOPT_SSL_VERIFYPEER0);
curl_easy_setopt_int(curlCURLOPT_SSL_VERIFYHOST0);

curl_easy_setopt_string(curlCURLOPT_URL"https://google.com");
ExecCURL(curlcurrent_test); 

Last edited by IloveMusic; 03-18-2015 at 11:07.
IloveMusic is offline