PHP universal detection function set? // [Warning]: Do not modify it without permission // else //------------------------------------------------------------------------------------------//-------------------------------------
Set of common PHP
Post PHP class-fully functional mail class-sorry for the author. I forgot the address and copied it from the local device. The following functions are powerful: not only can html-format emails be sent, but also the attachment checkEmail ($
Wrote an English-Chinese dictionary, the specific process:
1. Write the local file to the memcached server in the format {English:chinese}
2. Submit English words via Ajax and return to Chinese interpretation
Problems encountered: Query the
Look directly at the code, a very simple PHP class
Copy CodeThe code is as follows:
$IDCard = new Idcard ();
Var_dump ($IDCard:: Iscard ($_get[' card '));
/**
* ID Card Processing class
*/
Class Idcard {
Whether the ID card is correct
public
Each record in this database has a username field and a password field. Create a logon form to allow users to log on. Each record in this database has a username field and a password field. Create a logon form to allow users to log on.
Rule 1:
※checkmoney ($C _money) Check if the data is in 99999.99 format
※CHECKEMAILADDR ($C _mailaddr) to determine if a valid e-mail address
※CHECKWEBADDR ($C _weburl) to determine if it is a valid URL
※checkempty ($C _char) to determine if a string is
This type of function is very powerful, not only can send html format emails, but also can send attachments Note: When the author published it, it changed 《《? PhpclassEmail {// --- set the global variable var $ mailTo; // The recipient var $ mailCC;
PHP Classes-A full-featured Send Message Class
We have introduced a class for mass mailing, the function of the class can only send text-formatted messages, the following class is very powerful, not only can send HTML-formatted mail, you can also
Introduction: This is a full-featured page for sending emails in PHP. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 324
This is a class that has been written in the class package,
Two other table partitions are required:
1. http://www.jerry.com.tw/php/big5.map
2. http://www.jerry.com.tw/php/gb.map
The program is as follows: ccharset. php3
// Programmer: Magic
Find the first character in the string that appears only once
Find the first unique character in a string and you can just traverse this string only one time. if there is no such character, just return '#' and '#' will not appear in the string, else
paste two very simple bubble sort2014:scramble SortDescriptionIn this problem you'll be given a series of lists containing both words and numbers. The goal is to sort these lists in such a the-all words be in alphabetical order and all numbers be in
When debugging an ajax task, I wrote an English-Chinese Dictionary. the specific process is as follows:
1. Write Local files to the memcached server in the format of {English: Chinese}
2. submit English words through ajax and return Chinese meaning
Fuzzy queries are not supported in zend_db in the Zend framework???
ZEND_DB in the Zend framework is not supported like query ...
Here's my main code:
PHP Code
Class Dtstockgrade extends Zend_db_table_abstract {protected $_name = '
Price formatting issues.
First of all thanks to this CSDN platform, help us solve a lot of it, thank you very much!
Now I have a price format problem, ask everyone to point, thank you.
For example, 100000 is automatically formatted as 100,000
560
As the most basic precaution you need to pay attention to your external submissions, do the first security mechanism to handle the firewall.
Rule 1: Never trust external data or inputThe first thing you must realize about Web application security
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.