/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
class Session { // start session public function start() { } public function create($name, $val) { $_SESSION[$name] = $val; } public function get($name) { { return $_SESSION[$name]; } else { return false; } } public function del($name) { } { } }
URL: http://www.jream.com