Profile Post Jobs Posted Jobs Your Draft Employee Register
FALSE, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8', ); try { $DB = new PDO(DB_DRIVER . ':host=' . DB_SERVER . ';dbname=' . DB_DATABASE, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, $dboptions); } catch (Exception $ex) { echo $ex->getMessage(); die; } /* make sure the url end with a trailing slash */ define("SITE_URL", "http://www.inuson.com/"); /* the page where you will be redirected for authorzation */ define("REDIRECT_URL", SITE_URL."login1.php"); /* * ***** Google related activities start ** */ define("CLIENT_ID", "226307716907-1jrtq6rnki8er3i75e0aeq4lb8vnouoq.apps.googleusercontent.com"); define("CLIENT_SECRET", "lZ3OPiiTmX2T1tchGMvgnbTu"); /* permission */ define("SCOPE", 'https://www.googleapis.com/auth/userinfo.email '. 'https://www.googleapis.com/auth/userinfo.profile' ); /* logout both from google and your site **/ define("LOGOUT_URL", "https://www.google.com/accounts/Logout?continue=https://appengine.google.com/_ah/logout?continue=". urlencode(SITE_URL."logout1.php")); /* * ***** Google related activities end ** */ ?>
"") { ?>
Picture: