1. Download and install Oracle 8i for Linux.
Fully installed, do not install clients only
Download location: Hot download of Chat.hn.cninfo.net/soft
2. Download PHP3 or PHP4 source code
Download location: www.php.net www.phpuser.com
Problem
FastCGI not fully advanced Guide (PHP version, Windows platform)
Workaround
What is fastcgi?
FastCGI is a language-independent, extensible architecture for CGI open extensions whose main behavior is to keep the CGI interpreter process in
We sometimes have to get rid of the UTF8 in the document head we often need to remove the manual, below I have compiled a few PHP programs to clear the UTF8 format files in the BOM head method, I hope to help you.
Example 1
The code is
Problem
An approach to AOP for PHP
Workaround
AOP is the continuation of OOP and is the abbreviation of Aspect oriented programming, meaning aspect-oriented programming. AOP is actually a continuation of the GOF design pattern, and the design
In PHP in order to generate high-definition images must be done with the Imagecreatetruecolor function, the following see its usage imagecreatetruecolor (int x,int y) is a black image of size and Y, Instead of adding a background color to the
To sort by an element in a multidimensional array is also very easy to implement in PHP, a function call a callback function is done, it can also be PHP's own function
such as Array_multisort ($a, $b), $a, $b is two arrays, if after sorting, the 3rd
In PHP has a professional Excel processing class we can use it to add, delete or process the relevant data in Excel, if we just want to build Excel can use the following method is simple and fast.
If you do not read the data we can directly use the
The use of PHP call Discuz Login Box method has many kinds, the most commonly used is to directly use the IFrame method call, there is directly in the PHP page call, the following small part to summarize some common methods.
method One , use the
The session is a very common PHP in the global variables, the following I will give beginners to introduce some of the usage of PHP session summary, I hope that some of the methods for beginners PHP friends will help Oh, the following people
In PHP, the loop statement includes a lot, such as: For,foreach,while,do While,goto statement, let me give you a brief introduction to these circular statement structure usage.
For loop control
For (cyclic initial value; loop condition; step)
This article to introduce a PHP using XML backup MySQL database instance, this method of personal think only small data volume, and security requirements are not high users.
Here is the file code for the backup of the MySQL database under Linux by
In php.ini if we do not modify the post_max_size,upload_max_filesize these parameters, the default is to upload up to 2MB of files, if dozens of MB or more can not be uploaded, I would like to introduce a few ways to modify the PHP configuration
Log in with PHP instances we generally use the session to save the user log on the success of the information, and then exit when we used unset to clear the session can realize the user login logout function, let me introduce a simple example.
About
Article collection of some commonly used to solve PHP save Chinese SQL Server 2008 garbled method, have encountered similar problems of friends can refer to this article.
When I use PHP to manipulate the database today, I find that the Chinese
In PHP Open_basedir is a use of PHP is not much of a function, but open_basedir function accidentally give someone to enter your server, open_basedir in the end there is more magic we come to see it.
Let's take a look. We don't consider Open_basedir
Verification code is a common feature in WEB2.0 now, such as registration, login or Message page, you need a registration code to verify the legitimacy of the current operator, we will see some sites do not have verification code, but that is more
This article with some of their own experience to tell you how hackers friends will use your database SQL vulnerability to download your database Oh, there is a need to reference this article.
Create a table in the database:
The code is
This file upload class can customize the upload file size and upload file type and file save address, use up also daxing very method, there is a text is if the Chinese file name is upload will be garbled, so everyone solution is to save the page to
This code can be uploaded to the picture plus sharks can also scale the picture, the need for friends can refer to.
This code can be uploaded to the picture plus sharks can also scale the picture, the need for friends can refer to.
$uptypes
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