First, the preparatory work:
Os:windows7 SP1
nginx:nginx-1.3.5
php:php-5.4.6
Second, decompression php-5.4.6-win32-vc9-x86.zip to d:php, will be one of the php.ini-production to php.ini.
Third, extract Nginx-1.3.5.zip to D:nginx, edit
If you've been configured to forget, why don't you follow it? Red Letter Guide Oh ~
if it is annoying configuration environment This kind of work friend, hehe, search " XAMPP "Well, everything in the installation bag!"
Ok, want to know it, and
"1" Installs MySQL first
Running Mysql--5.20xxxxxx-win32.msi installation files
1 Next
2 Select Custom (customized installation)
3-point change is installed in the D-disk mysqlmysql SERVER5.2 Directory
4 NEXT
5 INSTALL
6 SKIP Sign-up NEXT
7 FINISH
8
First, Introduction PHP, a web design scripting language that has sprung up in recent years, because of its strong and scalable, in recent years has been a significant development, compared to traditional PHP ASP Web site, in the speed has an
This article provides a detailed tutorial on generating a verification code for a php Tutorial. The previous section describes how to generate and call a verification core code. The code is as follows:Copy code // Header ("content-type:
The code is as follows:Copy code $ Ch_str = "You want to generate Chinese character verification code ";$ Str = array ();For ($ I = 0; $ I {$ Str [] = $ ch_str [$ I]. $ ch_str [$ I + 1]. $ ch_str [$ I + 2];}// The length and height of the image$
The code is as follows:Copy code $ File_path = '123.txt ';$ Content = file_get_contents ($ file_path );// Separate all content into an array by linefeed$ Con_array = explode ("n", $ content );// Replace the specified row $ Con_array [12] = "12
Paste a piece of code. You don't need to say much about getting random arrays in php. Directly paste the code. The array_rand in php is abnormal. It breaks through normal people's understanding and is tedious.Example 1 The code is as follows:Copy
Obtaining PHPThis section has details about PHP download locations, and OS issues. 1. Where can I get PHP? 2. Is there any pre-compiled binary version? 3. Where can I get an optional PHP Extension Library? 4. What can I do to make these libraries
Delete blank functions in php! I don't feel very easy to use. I found the online code. Very easy to use. All white spaces are removed when you view the source code. It is easy to use. Directly use the variable to be replaced by the write
I like development best. Writing a program can improve your strength and add some code to your favorites! It is really good. For some reason, you need to obtain the maximum id of the database. So this section of php obtains the largest id code of
In my opinion, the Class used in PHP is an informal language and cannot be determined whether it is correct.Creating a class is simple:Class my_class {}What is the class? Many people refer to it as a black box. Here I call it an independent whole.
After installing some third-party function libraries, you can quickly use PHP to create and process images with graphic processing skills. In fact, you don't need a lot of geometric knowledge-because I used to fail this course when I was in middle
A bug in the iconv function. Iconv will encounter an error when converting characters "-" to gb2312SolutionIt is easy to add "// IGNORE" after the code to be converted, that is, after the second parameter of the iconv function.As follows:Reference
I. php. ini configurationIn the php. ini configuration, there are two configuration variables related to this. The two variables and their default values are as follows:The following is a reference clip: The code is as follows:Copy code
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