This file contains hidden or 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 | |
| /* | |
| 参考自: | |
| http://darklaunch.com/2010/09/01/http-status-codes-in-php-http-header-response-code-function | |
| http://snipplr.com/view/68099/ | |
| */ | |
| function HTTPStatus($num) { | |
| $http = array( |
This file contains hidden or 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 | |
| // http://www.paulund.co.uk/encode-email-with-php | |
| /** | |
| * Encode an email address to display on your website | |
| */ | |
| function encode_email_address( $email ) { | |
| $output = ''; | |
| for ($i = 0; $i < strlen($email); $i++) | |
| { |
This file contains hidden or 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 | |
| class Classify { | |
| public $idKey = ''; | |
| public $parentIdKey = ''; | |
| /** | |
| * | |
| * @param string $formatStr | |
| */ | |
| public function __construct() { |
NewerOlder