Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- class Auth_VK {
- private $code;
- private $token;
- private $uid;
- public_function__construct() {
- require "config.php";
- }
- public_function set_code($code) {
- $this->code =$code;
- }
- public_function set_token($token) {
- $this->token =$token;
- }
- public_function set_uid($id) {
- $this-uid =$id;
- }
- public_function redirect($url) {
- header("Location".$url);
- exir();
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment