"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
CuteNews is a powerful news management system that uses flat-file storage.
CuteNews there is a vulnerability in processing a user-submitted request parameter that a remote attacker could exploit to execute arbitrary commands on the host.
When the
$message = ...... Stacks of strings like bulk HTML code can be read
EOD;
Loaded into the $message.
$to = "digico@123.com";
$mail = "hts@123.com";
$zhuti = "I love You"; Letter Subject
$mailheaders. = "content-type=text/html; charset=gb2312
nbsp Generate Excel files in PHP
Haha, learn another trick today. PHP to generate Excel documents is too simple, it is estimated that everyone will use, so
Shared out.
Let's look at the code:
?
Header
Ueditor as Baidu's visual editor, by the vast number of users sought after! and seven Neu Yun storage is dedicated to provide users with attachment storage, fast upload, attachment security of a cloud products, many companies do not intend to use
PHP Ads Click Statistics Code, last night there are several IDC network to work with this site to put some ads, but I want to see the effect of advertising after the write a simple advertising statistics code, here is only the statistics can not IP
1. Using the XMLHTTP object, similar to the ActiveXObject object in ASP, in fact XMLHTTP is nothing more than get and put operation, in PHP
Get, just use file_get_contents/fopen/readfile these functions.
Put, write their own fsockopen send also
Matching regular expressions for Chinese characters: [U4E00-U9FA5] Match Double-byte characters (including Chinese characters): [^x00-xff] Application: Computes the length of the string (a double-byte character length meter 2,ascii character 1)
Work gap a class of file locks is written to solve some of the concurrency problems.
BOOL Flock (int handle, int operation [, int &wouldblock]);The handle of the flock () operation must be a file pointer that is already open. Operation can be one
The recent development of the micro-trust public platform, the public number of calls to each interface need to use Access_token,access_token is the public number of the global unique interface call credentials, development needs to be properly
PHP Magic Constants Detailed
Example:
Class moshu{public
function Moshu () {
echo ' current class name: '. __class__. "";
Echo ' Current method name: '. __function__. "";
Echo ' The number of rows in the current file: '. __line__. "";
Echo
The substitution function in PHP mainly has STRTR (), Str_repalce () These two functions, today introduces their difference and usage, first take a look at this PHP string substitution function strtr () Two kinds of usage:
STRTR (string,from,to) or
The tanh () function returns the hyperbolic tangent.SyntaxTanh (x) parameter descriptionX is required. A number.DescriptionReturns the hyperbolic tangent of x, defined as sinh (arg)/cosh (arg ).*/Echo tanh (-m_pi); // output-0.996272076221Echo "
The number format is the conversion format, starting from the percent sign ("%") to the end of the conversion character. The following possible format values:%-Percentage sign returned% B-binary number% C-characters based on ascii values% D-signed
*/$ Hash_list = hash_algos (); // return the registered hash rule listPrint_r ($ hash_list); // display the result/* Create a file to calculate the hash value */File_put_contents('example.txt ', 'The quick brown fox jumped over the lazy dog .');/*
Generating html principlesWe will write the tag to be generated into a template file, and then use php to read and replace the specified tag with the content we want to replace. Now the mainstream dedecms system does the same.Generate static page
This is a new handwritten Upload File. After some problems are solved, the file can be uploaded completely and any type is supported. If (is_uploaded_file ($ _ FILES ['spic '] ['tmp _ name']) {Echo " ";Print_r ($ _ FILES
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service