diff options
Diffstat (limited to 'demos/sqlmap/protected/APP_CODE')
-rw-r--r-- | demos/sqlmap/protected/APP_CODE/Person.php | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/demos/sqlmap/protected/APP_CODE/Person.php b/demos/sqlmap/protected/APP_CODE/Person.php index ad9da4b3..e3daeec6 100644 --- a/demos/sqlmap/protected/APP_CODE/Person.php +++ b/demos/sqlmap/protected/APP_CODE/Person.php @@ -1,26 +1,26 @@ -<?php
-
-class Person
-{
- public $ID = -1;
- public $FirstName = '';
- public $LastName = '';
-
- public $WeightInKilograms = 0.0;
- public $HeightInMeters = 0.0;
-
- private $_birthDate = '';
-
- //setters and getter for BirthDate
- public function getBirthDate()
- {
- return $this->_birthDate;
- }
-
- public function setBirthDate($value)
- {
- $this->_birthDate = $value;
- }
-}
-
+<?php + +class Person +{ + public $ID = -1; + public $FirstName = ''; + public $LastName = ''; + + public $WeightInKilograms = 0.0; + public $HeightInMeters = 0.0; + + private $_birthDate = ''; + + //setters and getter for BirthDate + public function getBirthDate() + { + return $this->_birthDate; + } + + public function setBirthDate($value) + { + $this->_birthDate = $value; + } +} + ?>
\ No newline at end of file |