PHP Environment Configuration under UNIX
Required Software Php-3.0.14-win32.zip
Php-3.0.14-win32.zip
Mysql-shareware-3.22.32-win.zip
All software is installed under/export/home/guoj/and can be in other directories.
installing MySQL
GZIP-DC mysql-3.22
These days very boring, nothing to do, happened to a friend of a new website, let me go to see, by the way test the security of the site.
First look at the structure and layout of the site, feel the overall use of the whole station program, careful
In discuz! of posts, replies, PM, etc. in the subject are not filtered, so you can add code.
For example
Http://xxx/post.php?action=newthread&fid=2...cript%3E%3Cb%22
The effect is to first eject your cookie
Use the method: Put the above code into
Similar to the installation of other software, the installation process is basically a fool-like
Install Nginx, execute the following command, and quickly complete
sudo apt-get install Nginx
Configuration file default installation location:
Some other good php3 scripts
Goto http://www.dtheatre.com/scripts echo "Pinging ";
$to _ping = "dtheatre.com";
$count = 3;
$psize = 65;
echo "Please be patient, this can take a few moments...\n";
Flush (); while (1) {
?>
?
EXEC ("Ping-c $count-S
How to modify Windows environment
The first step: Modify the Post file size limit under PHP5
1. Compilation php.ini
Find: Max_execution_time = 30, this is the maximum time for each script to run, in seconds, instead: Max_execution_time = 150
There are many JavaScript-written calendars on the web that read local time and may not be accurate. So want to find a PHP written, can read the server time calendar, but has not been able to find the appropriate, so I try to write a. Code Copy Box
0
The code is very simple, you quickly finished it. The main work has two functions to complete: "Get_checkbox_labels" and "make_checkbox_html". Where the "get_checkbox_labels" query table Const_skills and returns an array of objects, each with an ID
The example in this article describes the method of specifying characters for PHP regular substitution variables. Share to everyone for your reference. Specifically as follows:
Here are three common methods.
Method One:
$1 ", $txt);
? >
This article describes how PHP verifies that the user name starts with a letter and validates the password. Share to everyone for your reference. Specifically as follows:
Verify that the user name starts with a letter and that the authentication
This article illustrates the ereg_replace usage of PHP's substitution function. Share to everyone for your reference. Specifically as follows:
The following example uses the PHP regular substitution function ereg_replace to replace the specified
The examples in this article describe the way in which PHP regular expressions get all the links to content. Share to everyone for your reference. Specifically as follows:
Here are two ways to link PHP, they can get all the links to the content and
PHP can operate COM and DCOM object 1 under the Win32 platform. I created a DLL to compute something. Is there any way to run this DLL in PHP? 2. What does ' unsupported variant type:xxxx (0XXXXX) mean? 3. Is it possible to manipulate visual objects
Description
BOOL
is_dir (string $filename)
Returns TRUE if the filename exists and is a directory. If filename is a relative path, check its relative path according to the current working directory.
Note: The result of this function is cached.
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