$test_code
);
curl_setopt($ch_test, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch_test);
if(curl_errno($ch_test)) {
$server_err_stat = 'test_error';
$server_err_msg = 'Error: ' . curl_error($ch_test);
}
else {
$http_code = curl_getinfo($ch_test, CURLINFO_HTTP_CODE);
if ($http_code == 200) {
if ($test_code == $response){
$server_err_stat = 'test_successfull';
$server_err_msg = '';
} else {
$server_err_stat = 'test_error';
$server_err_msg = 'Error: Sorry couldnot get response back from the server.';
}
} else {
$server_err_stat = 'test_error';
$server_err_msg = 'Error: ' .$response;
}
}
} else {
$server_err_stat = 'test_error';
$server_err_msg = 'Error: Curl not enabled in your server.';
}
update_option('uaf_server_status', $server_err_stat);
update_option('uaf_server_msg', $server_err_msg);
}
$server_status = get_option('uaf_server_status');
$server_message = get_option('uaf_server_msg');
?>
| Additional Settings (Usually not required) |
| Instructions |
- Get API key from here. You can offer your contribution from (Free to $100) and get the API key. All API key comes with lifetime validity.
Note: API key is needed to connect to our server for font conversion.
- Upload your font in supported format from Upload Fonts section. The required font format will be converted automatically by the plugin and stores in your server.
Note: We don't store any font in our server. We delete the temporary files after conversion has been done.
- Assign your font to you html elements from Assign Font section.
- You can also assign uploaded font directly from Post/Page Wordpress Editor.
- If you are fond of visual instructions, you can check it here.
- You are ready now. If you still have any problem visit our support forum or you can write to us directly using our contact form.
|
|
|