Installation and configuration of Apache + php3 in WIN98/Software/apache_1_3_12_win32.exeInstalled in c: apacheConfiguration: httpd. confI. ServerType (server type)Standalone and inetdIi. ServerRoot (server root directory)ServerRoot "C:/apache"Iii.
Recently I have prepared several PHP websites, so I need to install a PHP server on my computer. I haven't touched PHP, apache for a long time, when mysql is used, you just need to steal the lazy package and call it appserv. It can install php,
The latest FCKeditor version is 2.5.1. It takes me some time to modify some files, which is more suitable for practical applications. for details about the modification process, refer to the instructions. You can also download the modified program
Today, I have nothing to do with a Php Aes encryption program, which is applicable to Yii extension. If you do not need to use Yii framework, put the Yii: app () in the code () -> replace params [\ 'encryption key \ '] With your default key.
AES
The principle of using php to filter malicious characters is simple. We only need to define the characters and then use foreach to traverse the Malicious character library, and use strpost to check whether there are any characters in the Malicious
The function of open_basedir is to specify the directory location, which means that the files that PHP can open are restricted to the specified directory tree, including the file itself, and are not affected by the security mode.
The following is
This article introduces how to use the DSA algorithm to generate a signature instance based on openssl. The method for generating a signature is simple. It is complicated to understand the intermediate principle. Let's take a look.
Command:
Openssl>
In php, if we want to obtain the day of the week, we can directly use the date function for operations. Next I will summarize the specific operation methods for you. I hope this method will help you.
PHP provides a brief introduction to how to get
We use setcookie to set and delete cookies in php. It is automatically deleted when it expires. However, you may encounter a cookie that cannot expire in ff.
First, let's take a look at the instructions on deleting cookies in the php manual.
Bool
PHP reads large files, which is different from reading general files. If your file reaches several hundred MB or GB, it may be slow or slow for common php to read files, next, I will introduce PHP's ability to read large files.
Generally, we use
This article will introduce you to CURL application instances on the public platform. If you encounter such problems, please refer to them.
Curl is used to transmit data through a simulated browser. It supports many protocols such as HTPP, HTTPS,
We usually use ajax to implement the brushless newest page. In the past, we used the most primitive JavaScript ajax to verify jquery ajax, which is currently commonly used. We only need a simple post statement to solve this problem, next let's look
User Login means that the user enters the user name and password, clicks the login page, does not refresh, and then submits it to the background program using ajax for judgment. If the login succeeds, the system returns real or relevant user
Recently, mobile internet has become popular. We need to build a PC station and a WAP station. If a user accesses a WAP station on a computer, the user will automatically enter the PC station. The opposite is true, now I have sorted out some code
Here we will introduce how to use PHP's fgetcsvloud to directly read The. CSV file. It is not a real excel file. to read a real excel file, we need to use a plug-in. I will briefly introduce it below.
Excelfile (.csv)
The Code is as
When learning development, we need to know some common sense. For example, variable naming rules are a very important habit, if you develop a good naming convention for variables, the teams you work with will be more likely to accept you.
1. Class
Session is a common global variable in php. Next I will introduce some usage Summary of php session for beginners. I hope some methods will help php beginners, let's take a look.
The default session storage method of the PHP server is file storage.
Using a php instance to log on and log out, we usually use the session to save the information that records the user's Successful Logon. Then, when we exit, we use unset to clear the session to enable the user login and logout function, here is a
In php, we can use the extract or compact function to convert arrays and variables. Let's share the two instances with you.
Compact multiple variables to the array
The Code is as follows:
Copy code
// Convert multiple
In php, if we want to make the random sorting of arrays, we only need to use the shuffle function, but shuffle can only use one-dimensional arrays. The following small series will introduce several array sorting methods.
The shuffle function can be
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