Skip to content

Instantly share code, notes, and snippets.

View rozenfate's full-sized avatar

Rozen Fate rozenfate

View GitHub Profile
<?php
class sh implements SessionHandlerInterface{
public $_database;
public function __construct(){
$this->_database = new PDO("mysql:hostname=127.0.0.1;dbname=db_name;","root","password");
session_set_save_handler(
array($this,"_open"),
array($this,"_close"),
array($this,"_read"),
array($this,"_write"),

Keybase proof

I hereby claim:

  • I am rozenfate on github.
  • I am rozen (https://keybase.io/rozen) on keybase.
  • I have a public key whose fingerprint is 313A 9949 5C47 338C 28D8 AD94 75C1 2A5A 785A 6B35

To claim this, I am signing this object: