Install mysql+apache2+php5.3.1 tutorial under Linux
Please download the following three install the necessary software first
01-04php-5.3.1.tar.gz.html ">php-5.3.1.tar.gz installation package download
01-04httpd-2.2.14.tar.gz installation package
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
Of course, PHP has a function Number_format, function prototype:
String Number_format
(
Float number,
int decimals,
String Dec_point,
String Thousands_sep
)
As an example:
$num = 12345678.9;
echo Number_format ($num). '
'; will be 4 5 in
Echo
The best way is to create a new page, use it
, and load it into the browser. It shows all of the PHP parameter information, environment variables, specific variables of the Web server, HTTP related variables ... Wait a minute. The main reason for
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
Problem
Questions about PHP generated text
Workaround
Hello, my brother has a problem.
I now upload a bit of data, such as my profile and so I want to add a "download" button at the front desk, click this button will send my uploaded data from the
1062-duplicate entry for key 1
We sometimes come up with the problem of importing data like 1062-duplicate entry ' "for key 1.
So what's the reason, yesterday when I was importing data, I found this problem.
The reason for this analysis is that
There are a lot of PHP beginners to intercept characters will use SUBSTR () function or mb_substr () function to intercept, the first Chinese must be garbled, the second performance is not good, the following I summed up a few custom Chinese text
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
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
This article to the students to introduce the use of memcache to build a simple memory message queue, with a good example to introduce to you, I hope this method for everyone to help OH.
Memcache function is too simple, only set get and delete, can
In PHP to filter some special characters or illegal characters we can have a lot of ways, like the regular expression str_replace is a good way, like a carriage return, space, line can be used to solve.
The nearly responsible system module is
Shopping Cart Implementation methods are the most commonly used in several ways, cookie,session and save records to the database, let me introduce the simplest way to use cookies as a shopping cart product record repository.
PHP Shopping Cart, there
Calculate the time difference our principle is according to the definition 1, the year is 360 days, one months is 30 days; 2, 86400=24*60*60 in the code, representing how many seconds a day the CCP has, so it can be calculated.
The effect is as
PHP and MySQL password mostly with PHP does not have any relationship, this we just put the page and MySQL code processing can solve garbled problem, garbled also just Chinese will garbled.
There was a problem with Php+mysql when you encountered a
Reference: means that the original object's address in memory is passed to the target object, which is equivalent to the same memory address that the original object and the target object point to. In this case, the data in memory will change if the
QingyuanShare a
PHPGet access to the website from Baidu Search
Key WordsThe code, a friend of the need can refer to:
Code:
$keyword, ' from ' = = $from);} The following is a test//search keyword in the search engine, enter the site $word =
Two-dimensional array sort ordering in PHP also provides a function array_multisort can be directly sorted, below I would like to introduce in addition to the full use of array_multisort array sorting we also wrote some custom two-dimensional arrays
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