From aa70a9583a93b9aefd7b6385e0ab20c11c587203 Mon Sep 17 00:00:00 2001 From: Jack-Benny Persson Date: Sat, 26 Jul 2014 15:01:16 +0200 Subject: [PATCH] Initial commit --- class.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 class.php 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"; + +?>