Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CURL *curl;
- CURLcode res;
- curl = curl_easy_init ();
- curl_easy_setopt (curl, CURLOPT_URL, url);
- res = curl_easy_perform (curl);
- curl_easy_cleanup (curl);
- // Place to set logged = 1 if it's successful
- if (res == "Correct") {
- logged = 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement