※checkmoney ($C _money) checks whether the data is in 99999.99 format
※CHECKEMAILADDR ($C _mailaddr) to determine if it is a valid mailing address
※CHECKWEBADDR ($C _weburl) to determine whether it is a valid URL
※checkempty ($C _char) to determine
"Warning": please do not change without permission
"FileName": c_check.inc
"Role": a set of common detection functions
"Author": Sky Ash
"Last Modified Date": 2001/05/11[cxx]
"Variable definition rule": ' C_ ' = character type, ' i_ ' = integral
Copy CodeThe code is as follows:
Class Event extends stdclass{
public $target =null;
Public $type =null;
/**
* Create Event
* @param string $type
*/
Public function __construct ($type) {
$this->type=trim ($type);
}
/**
* Get Event String
*/
Public
PHP event mechanism (2 ). Copy the code as follows :? PhpclassEventextendsstdClass {public $ targetnull; public $ typenull; *** Create Event * @ paramstring $ type * publicfunction _ construct ($ type)
The code is as follows:
Class Event
Basic operations of a file system. Copy the code as follows :? Phperror_reporting (2047); ** ClassIO (snkedevil completed 03.25.04) (v1.0.0.0) ** [description] * this class is used to process the file system. ** [Function] ***** list_dir (
The code
WML processing --- H_wml.php
H_encod = "gb2312"; // set the character encoding (wap page encoding) $ H_wml-> H_head (); // Set the header information $ H_wml-> H_nocah (); // no cache (whether or not the cache is required), you do not need to
PHP event mechanism implementation code using AS3. For more information, see.
PHP event mechanism implementation code using AS3. For more information, see.
The Code is as follows:
/*** Event exception** @ Author lonely* @ Create 2010-10-21*
POP3 class implemented in PHP can be directly used.
POP3 class implemented in PHP can be directly used.
When viewing POP3/SMTP protocols, I want to write an operation class by myself. The core is to use fsockopen and then write/receive data,
POP3 class implemented in PHP can be directly used. When viewing POP3/SMTP protocols, I want to write an operation class by myself. The core is to use fsockopen and then write/receive data, which only implements the core functions, as a trainer who
PHP event mechanism implementation code using AS3. For more information, see.
The code is as follows:
/*** Event exception** @ Author lonely* @ Create 2010-10-21* @ Version 0.1* @ Lastupdate lonely* @ Package Event*/Class Exception_Event
(71~80verification of this article is mainly 10 more commonly used form verification features, including the mailbox, dangerous characters, verification length, authentication URL, verification decimal, integer, floating point number and other
Options MenuCreating the Options MenuThe activity class's Oncreateoptionmenu event method is used to create the Options menu, which is defined as follows:@Overridepublic boolean Oncreateoptionsmenu (Menu menu) {return Super.oncreateoptionsmenu (menu)
Copy CodeThe code is as follows:
Class Event extends stdclass{
public $target =null;
Public $type =null;
/**
* Create Event
* @param string $type
*/
Public function __construct ($type) {
$this->type=trim ($type);
}
/**
* Get Event String
*/
Public
Copy CodeThe code is as follows:
Error_reporting (2047);
/*
* Class IO (Snakevil completed 03.25.04) (v1.0.0.0)
*
* [Description]
* This class is used for processing the file system.
*
* [function]
* * * * * LIST_DIR ($dir _path);
* Reads the
Common js Data Detection Methods. Currently, only the general functions of the js end are completed. The php end code will be appended. Users can only specify the detection type at the php point, and the client js detection code will be
The Service Code inherited from the InputMethodService class is as follows:
int keyCode = sKey.getKeyCode();
KeyEvent eDown = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, keyCode, 0, 0, 0, 0, KeyEvent.FLAG_SOFT_KEYBOARD);
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.