This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A user-friendly class for handling dates. | |
* | |
* Extends the DateTime class in >= PHP 5.2 to build and format dates without the | |
* need to memorize PHP date format specifiers. Eliminates inaccurate results when | |
* modifying dates to add or subtract days, weeks, months, or years. | |
* Static dateDiff() method calculates number of days between two dates. | |
* | |
* @package Pos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A class for validating and filtering user input | |
* | |
* This class acts as a wrapper for the filter functions in >= PHP 5.2 or PECL. | |
* If an optional array of required items is passed to the class constructor, | |
* the Pos_Validator object generates an array of missing items. | |
* | |
* The first argument for each validation method is the name of the input | |
* field or URL variable, which is always required. Many methods accept |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset ="utf-8"> | |
<title>Date Calculator</title> | |
</head> | |
<body> | |
<?php | |
require_once '/Date.php'; //Include date.php once |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset ="utf-8"> | |
<title>Date Calculator</title> | |
</head> | |
<body> | |
<?php | |
require_once '/Date.php'; //Include date.php once |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A class for validating and filtering user input | |
* | |
* This class acts as a wrapper for the filter functions in >= PHP 5.2 or PECL. | |
* If an optional array of required items is passed to the class constructor, | |
* the Pos_Validator object generates an array of missing items. | |
* | |
* The first argument for each validation method is the name of the input | |
* field or URL variable, which is always required. Many methods accept |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset ="utf-8"> | |
<title>Date Calculator</title> | |
</head> | |
<body> | |
<?php | |
require_once '/Date.php'; //Include date.php once |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset ="utf-8"> | |
<title>Date Calculator</title> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A user-friendly class for handling dates. | |
* | |
* Extends the DateTime class in >= PHP 5.2 to build and format dates without the | |
* need to memorize PHP date format specifiers. Eliminates inaccurate results when | |
* modifying dates to add or subtract days, weeks, months, or years. | |
* Static dateDiff() method calculates number of days between two dates. | |
* | |
* @package Pos |