The load product neck is generally mainly in the following four aspects:1 database2 Server CPU3 hard disk I/O4 Network bandwidthExcept for these four ghosts. What else is worth optimizing for? PHP is really strong. Today, the PHP script level to
A. Test environment:Os:windowsxp SP2php:php 4.3.10 (MySQL 4.1.9Apache 1.3.33Two. Test the database structure:
-----Start-----Database: ' Test '---- ------------------------------------------------------------The structure of the
Simply add the following code to your page to track who has joined your page:
The reverse tracking of this page, more suitable for the blog on the main page.
Please use the following code for UTF-8 encoding:
GB Chinese character coding, BLOGCN
The code is divided into the following sections:
Demo.php (as the current mainstream development language)-upload process processing
PLAIN textphp (as the current mainstream development language):
Include UploadProgressMeter.class.php (as the
Before the stage, see the Mdjwq@yeah.net and the red dragonfly of the small version of the chat program, carefully read their code, feel this is a rare code, especially for the novice, the program used a number of techniques, very valuable reference.
Now we finally have everything we need to write a new file:
Open the file and truncate the file length to 0
$open _file = fopen ("messages.html", "w");
Header information written to the file
Fputs ($open _file, $header);
A new line
(Use
Background knowledge:
Simplified Chinese National Standard Font (1981 years, mainland China). 7,445 characters, of which 6,773 Chinese characters, including a first-level kanji 3,755, two-level kanji 3,008. Encoded with 2-byte (16-bit
MySQL garbled file
Move the server this afternoon; the transfer data was killed. Because the data is upgraded to a higher version through MySQL's low version, there are many problems in the relocation process.
Because the default character set
1. How to make Apache listen on a specific port
Modify the options in httpd.conf about Listen, for example:Listen 8000is to enable Apache to listen on port 8000If you want to specify both the listening port and the listening address, you can
Last night in Windows XP Professional [with IIS] installed PHP 5.0.5 and Apache 2.0.54[listening Port 8088].I was asked to install Zend-optimizer to support encrypted PHP files when I installed the Discuz forum today.Download the Win32 installation
Reference: http://www.netasp.com.cn/valley/gettitle/index.phpThe code is as follows:
if (Eregi ("(.*) "The copyright of this article is owned by the author and house Orso near net, if need to reprint, please specify the author and source"
First, this example is based on the message of the revised version. We used jquery.js to implement Ajax and Dom deletion by adding a id= "t to the table first.
"Write a JS: Delete link to href=" Javascript:delitem (
Delete.php's modification is to
from Bun s Blog
The error message is/usr/bin/ld:skipping incompatible/usr/lib/mysql/libmysqlclient.so when searching for-lmysqlclient
Reason
PHP compiled with the/usr/lib/mysql this 32-bit library, incompatible
Solutions
Today because of temporary needs, to dynamic in the image to add the effect of the transparency gradient, on the internet to find a half-day without the corresponding function of the algorithm ....Wrote one by himself:
The following is
Reference: http://www.netasp.com.cn/valley/gettitle/index.php (as the current mainstream development language)
The code is as follows:
if (Eregi ("(.*)
"The copyright of this article is owned by the author and house Orso near net, if
from:angels Blog Source URL:http://www.sablog.net/blog/archives/479/
just surf the internet, inadvertently in the small A (Angel) blog on this program, writing is very simple and powerful! Oh! ~ is implemented in PHP, I wrote on the basis of the
Because the page display did not finish ~ ~ (the culprit or power outage today, quack ' ~ ' to find the objective reason) ~ Today can not post new code out ~ ~
Just put the original database connection statement into a contained file ' ~ Convenient
The Apache Server1_3_12_win32 version is referenced here. ServerType standalone #设置服务器的形式是单独启动 (standalone), or by the Internet servo program inetd to start. The former is generally used. ServerRoot "D:/apache" #设置服务器的Home目录, used to store the
The premise is that your IIS has been installed successfully and that your PHP installation package has already been downloaded.
As for the installation of IIS you can find a disk of Windows XP, PHP installation package can be downloaded in
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