Recently, I have been using php + dbfile to develop blogs. I learned a lot during the development process, so I tried to write a small message book. This message book uses php + dbfile and can be used in a blog without using a database. for example,
I have come up with this configuration tutorial for a long time. I have been busy with internships and my graduation thesis recently. it never takes time. however, many people need this tutorial. so I decided to take a day out. the php environment
If you encounter a character ''during php running (on the keyboard ~ The lower key of the symbol) will always try to execute the commands contained in ''and return the command execution result (string type );
The code is as follows:
/* A new
The function of capturing YAHOO stock quotes in real time. you can learn the ideas and specific code to broaden your knowledge.
The code is as follows:
Function getYahooQuote ($ stockSymbol = "CCR ")
{
If (! $ TargetURL) $ targetURL =
Websites with a slightly larger size usually have several servers. each server runs modules with different functions and uses different second-level domain names. The User System of a website with a strong integrity is unified, that is, a user name
Var_dump this function displays the structure information about one or more expressions, including the expression type and value. The array recursively expands the value and displays its structure through indentation. In this article, we will
The PHP version of batch Trojan and batch Trojan programs. Therefore, the hacker tool is a damage tool in the hands of hackers, and the maintenance webmaster is a correction tool.
The code is as follows:
Function gmfun ($ path = ".")
{
$ D = @ dir
In a large Web project, include_path is the root of a modular design (of course, there are also many designs based on autoload, which does not affect the discussion in this article ), however, it is precisely because of include_path that we often
The sort () function sorts the values of a given array in ascending order. Note: This function assigns a new key name to the cell in the array. The original key name is deleted.
Sort () definition and usageThe sort () function sorts the values of a
When I think of a problem: www.g.cn can set the cookie to .g.cn, can www.com.cn set the cookie to .com.cn?
Domain name and cookieBy accident, I think that www.g.cn can set the cookie to .g.cn. can www.com.cn set the cookie to .com.cn?
Test results:
This article provides a detailed analysis of fckeditor configuration in Php. For more information, see FCKEditor.
Preface:FCKeidtor is a foreign multi-language editor. you can simply modify its configuration file to support applications that
This article is the use of HMAC-SHA1 signature method for a detailed analysis of the introduction, need a friend reference
Encryption Algorithm:Using the HMAC-SHA1 signature method
The code is as follows:
/**
* @ Brief use the HMAC-SHA1
FIG is developing a PHP-related specification, abbreviated as "SRS. At present, there are four code specifications, which have recently been translated into the Chinese version. Suggested PHP students are concerned about the document repository
This article mainly introduces the problem of session logout and login in php. if you need a friend, please refer to it and hope to help you in php, if the session is used to determine whether the user logs in, this can be done when the user exits:
This article describes how to use PHP to detect mobiledetection for mobile devices. mobiledetection can detect the operating systems and browsers of most mobile phones and tablets. For more information, see the following, it is normal for a website
This article describes how to use Codeigniter to upload multiple files and create multiple thumbnails. For more information, see the CI framework.
This program can achieve:1. Upload 5 images at the same time2. generate two types of thumbnails at
This article mainly introduces how to filter English punctuation marks and Chinese punctuation marks by using php. For more information about how to filter Chinese punctuation marks by using php, see php.
The code is as follows:
Function filter_
This article mainly introduces php functions for intercepting strings containing html tags. it is more powerful than common string interceptions and is used in some special occasions, if you want to use this method, you can refer to the following:
This article mainly introduces the phpmailer method for returning recipients to read emails after sending emails. This function is very simple and practical. For more information, see phpmailer, do you want to know if the recipient has read the
This article mainly introduces how to format a UNIX time into GMT text using gmdate in PHP. The example analyzes the functions and usage skills of the gmdate function in php, which has some reference value, for more information about how to use
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