About
Get a Pin
Terms
Contribute
Contacts
JavaScript code:
PHP code:
$lang = 'en'; $url = "http://api.uniqpin.com/{$lang}/pin/confirm/?verify=" . $_GET['verify']; $result = json_decode(file_get_contents( $url )); if( $result->status === 'ok' ) { echo 'test passed'; } else { echo 'test error: '.$result->message; }