Before I introduced the installation method of PHP pear under windows in detail, I reinstalled pear in the Dedeampz\webroot\default directory when I installed the Pear DB Class with the Dedeampz restrictions. However, due to the problem of pear
Mime "OK, how do I create MIME-compliant information?" "With the general description above, let's take a look at what the so-called MIME information is!"
The simplest MIME information
This information does not have any paragraph, namely, has no
A recent project was ported by WinForm Direct Access DB2 to the WinForm access DB2 through the PHP Web service. (The advantage is that PHP can be on Linux, and Linux is free) The difficulty of this proposition is not access to DB2, but. NET calls
Using PHP to crawl the content of a page is very useful in actual development, such as a simple content collector, extract some of the content in the Web page, and so on, grab the content in the regular expression to do a filter to get the content
Using static analysis tools to measure quality We use static analysis to measure the code without running it. In fact, we use these tools to evaluate the code, read the file, and measure the elements it writes. Using these tools can help us to
Web|web Service |web Server | program most web hosting (web hosting) companies support customers ' access to WEB site statistics, but you often feel that the state information generated by the server is not comprehensive enough. For example, an
Yesterday, when I decode the generated JSON file, I suddenly found that the return was null, (the JSON string in the JSON file was encrypted), and after repeated testing, it was found that the decode operation returned NULL as long as it contained
A flexible string.
Because of the flexibility of the expression, we can use the "mapping" method to bring up a string or function.
$a = ' B ';
$b = ' 123 ';
echo $ $a; This can output 123. But the better habit is the echo ${$a}, which is clearer.
$c
procedure.
//###########################################################
//
For questions and comments
Roland (Alias-=: Vlieg: =-)
ICQ #78354631
Mail:vlieg@atoomnet.net
//
Nb:this script won ' t work on free hosting pages, because of the secure mode!
Gets the header information for the HTTP request.
The PHP manual provides a ready-made function:
Getallheaders
(PHP 4, PHP 5)
Getallheaders-fetch all HTTP Request headers
Description
Arraygetallheaders (void)
Fetches all HTTP headers from the
The concept of the framework may have frightened a lot of PHP's coder in the beginning, in fact, you just want to understand a framework, in fact, there is nothing, but other people more complex functions, details to consider more, code quality is
Friends who have used sessions in PHP may encounter a problem where the session variable cannot be passed across pages. This annoyed me for a few days, and finally I thought through the data and solved the problem. I think there are several reasons
1-writing modular Code
Good PHP code should be modular code. The object-oriented programming capabilities of PHP are particularly powerful tools that can decompose your application into functions or methods. You should try to separate the front-end
A lot of PHP programmers, especially learning is not a long time, do not know the essence of PHP. How did Perl become famous in the business world? Its powerful regular expression. And what about PHP? He is a language developed from under UNIX, and
1. Array Processing:
1.1 Creation and initialization of arrays:
The 1.arrary () function creates an array, by default 0 elements are the first element of the array,
Count () and sizeof () function to get the number of data elements
2. Using
Sort | data | Database in many CGI languages, PHP with its simple, rapid advantages began to grow, the use of PHP development program more and more people, and the general PHP database on two types: text and MySQL. Text database reading, writing
Dynamic many people do not understand that PHP can produce non-HTML data. This is useful for generating image images. You can generate a simple ad map from the database or simply create a graphical button.
I use the TTF font in the following
Attack
In fact, this topic is very early to say, and found that many of the domestic PHP site has XSS loopholes. Today, I happened to see an XSS loophole in PHP5, here to summarize. By the way, friends who use PHP5 best to lay patches or upgrade
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