Mega Code Archive
Categories
/
Php
/
Class
Declaring and Using Object Constructors and Destructors
disk_id = sha1('cd' . time() . rand()); } public function get_disk_id() { return $this->disk_id; } } $mydisk = new cd(); echo $mydisk->get_disk_id(); ?>