commit aa70a9583a93b9aefd7b6385e0ab20c11c587203 Author: Jack-Benny Persson Date: Sat Jul 26 15:01:16 2014 +0200 Initial commit diff --git a/class.php b/class.php new file mode 100644 index 0000000..e81dd45 --- /dev/null +++ b/class.php @@ -0,0 +1,31 @@ +username = $username; + $this->password = $password; + $this->origType = $origType; + $this->originator = $originator; + } + + public function sendMsg($msg) + { + $this->msg = $msg; + return "User: $this->username, Password: $this->password" . + ", OrigType: $this->origType, Originator: " . + "$this->originator, MSG: $this->msg"; + } +} + +$SMS = new CellSynt("jake", "testpw", "numeric", "123456666"); +print $SMS->sendMsg("Detta är mitt SMS!") . "\n"; + +?>