FCKeditor the latest version is 2.5.1, I spent some time to modify some of the files inside, more suitable for practical applications. Please see the details of the change process, you can also download the revised procedures, see annex.
1. Delete
/**********************************************************
Clears the files in the specified directory
**********************************************************/
function Clean_dir ($path) {
if (!is_dir ($path)) {
if (Is_file ($path)) {
Unlink
One of the biggest advantages of PHP is its ease of support for new technologies, the scalability of which allows developers to easily add new modules, and the support of the world's technology community and the support of numerous extension modules
Data
CREATE TABLE IF not EXISTS ' Leo_user ' (' id ' int (one) not NULL auto_increment,' Name ' char (not NULL),' Birthday ' date not NULL,' Email ' char ' not NULL,' Sex ' enum (' M ', ' F ', '-') not NULL,PRIMARY KEY (' id '),UNIQUE KEY ' email '
PHP section under the Domain name information
function Is_domain ($domain){if (Preg_match ("/^" ([0-9a-z-]{1,}.)? [0-9a-z-] {2,}. ([0-9a-z-]{2,}.)? [A-z] {2,}$/i ", $domain)){return true;}Else{return false;}}
Domain name Regular expression JS
This example describes the PHP image processing class. Share to everyone for your reference. as follows:
filename = $fileName;
if ($this->filename) {$this->getsrcimageinfo (); /** * Source image information * @access private * @return void
This article illustrates how PHP implements a method of finding a specific value in a multidimensional array. Share to everyone for your reference. Specifically as follows:
Recently, you need to look up a multidimensional array to see if it
This article describes the implementation of PHP CodeIgniter shopping cart class. Share to everyone for your reference. as follows:
This is a CodeIgniter shopping cart class.
Shopping Cart basic function:
1 Add items to the shopping cart2 Remove
This example describes the PHP custom class Fsocket method for simulating post or get requests. Share to everyone for your reference. Specifically as follows:
zsocket.class.php files are as follows:
_setcookie (substr ($line, 12));}
Always wanted to understand the technology of web programming. PHP is a language that is important for web programming, and it always says that PHP is a programming language for the server side. However, it is impossible to understand how it is used
The difference between 1.echo and print
The functions of ECHO and print are essentially the same in PHP (output), but there is a slight difference between the two. echo output does not return a value, but print has a return value that returns Flase
Simple symmetric encryption algorithm implementation in php and php Encryption Algorithm
Preface
I found a good symmetric encryption algorithm for PHP on the Internet. In the PHP syntax environment, there are symmetric algorithms that come with
Php cookie User Logon details and instance code, cookie User Logon
Php cookie User Login implementation
HTML source code:
php cookie User Logon implementation Please Specify the Password Customer ID Password
The following two php tutorials use regular expressions to process url matching code. I hope this will be helpful to you.$ Url = 'http: // www.baidu.com/zongzi/oo.html ';$ N = preg_match_all ("/http: [/] {2} [a-z] + [.] {1} [a-zd-] + [.] {1} [a-zd] *
Php Tutorial printing multiplication Port absolute table codeJust now, php often asked us to answer this question. Today I will print a multiplication script again./** Print the multiplication Port reject table*/Echo "Jiu Ling Jiu multiplication
In the php Tutorial, use explode to check whether a character exists.Explode (string separator, string [, int limit])Separator is a null string (""), and explode () returns FALSE. If the value of separator cannot be found in string, explode ()
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