query("SELECT * FROM auth_check WHERE auth_key='" . Input::get('token') . "' "); if($rows->count() > 0){ $db = null; // echo $rows->results()[0]->auth_key . " - " . $rows->results()[0]->expiry; $db = new DB(); $rows = $db->query("SELECT * FROM notifications WHERE reference_num='" . Input::get('ref') . "' "); if($rows->count() > 0){ $jsontext = $rows->first()->jsontext; $db = null; $subdomain = getSubdomain2(); $domain = get_subdomain_managed_domain_new_way($subdomain); }else{ die(); } }else{ die(); } $db = null; }else{ die(); } ?> Web Console

Quick View