Text-based message books can be beautifully and better managed by the basic database. However, for those who have no database space, text-based message books can also be used by personal sites. As long as we try to do the same thing, it can be said
Install Apache1.3.14 + PHP4.0.4 in WIN98 1. install Apache
After installing apache (latest version 1.3.14), configure and install the httpd. conf file in the apacheconf directory as follows:
1.1 Search for # ServerName new. host. name and replace
PHP Master path (2) 2. write beautiful code
1. separate background programs from front-end programs
When writing a PHP program, some code is used to process some transactions, such as database operations and mathematical operations. other code is
PHP + DBM logging program (5) 10. member information display file show. php3
If ($ login ){
Require ("common. php3 ");
If (! Isset ($ id) error ("Why didn't I enter the user ID? ");
Else {
$ Id = chop ($ id );
$ Dbm = dbmopen ("class", "r ");
If (!
Bbs design based on mysql (2) 3. Database Design
The key is the efficiency of mysql. allocate the mysql memory reasonably, especially the table cache
Size. What happens when the system suddenly loses power? Is mysql robust?
Table name design, with a
Multi-user files without databases are freely uploaded to the voting system (2) This is the download. php of the system, which is mainly responsible for downloading and recording. the file format is described in the notes.
// Input num as the
The program that uses text files to dynamically publish news in real time. The program that publishes news in real time can automatically arrange the display order according to the release time. A news file is a text file stored in a specified
Blocking browser cache is an alternative method. sometimes we do not want the browser to use the cache to speed up the display of webpages, especially those webpages that frequently update content such as forums, the following method can be used to
PHP installation tips: FAQs (2) IV,
Q: It seems that there is a problem when I compile PHP and APACHE together. It always says that the httpd. h file cannot be found, but the file actually exists. Why?
A: You need to let the PHP
PHP beginners (6) building a simple interactive website (2)
5.5 counters
Let's add a counter to the homepage. This example has been mentioned many times, but it is helpful to demonstrate how to read and write files and create your own functions.
Eight common file operations in PHP Programming: file and directory operations
PHP is very convenient to process files and directories on the local server, but sometimes the permission and path problems may occur.
1. open the file
Resource fopen
Some knowledge about PHP 1. how to configure PhpMyAdmin2.9
The configuration files of many tutorials on the network are for the PhpMyAdmin base version. at first, I didn't even know where to put the 2.9 configuration file?
The relative address of
PHP interview question set Interview Question 1
1. use PHP to print the time format of the previous day in the format of 22:21:21
2. differences between echo (), print (), and print_r ()
3. templates that can be used to split HTML and PHP
4. how to
Note: The original name of this article is Creating a Multi-File Upload Script in PHP. I think this article is generally written, and the code is not very professional, but it is short, and I can't find a better article at a time, so I translated it.
Common form verification classes. with this, General verification is complete.
The code is as follows:
/*** Page function: Common form verification classes* Author: happy with the wind* Creation Time: 2006-3-6* QQ: 276624915*/Class class_post{//
Computing time difference in php is sometimes very troublesome!
However, I believe that any language, as long as it holds the rule rate, will be able to find a way, it is absolutely magical.
Date calculation is often performed in the work. The
In PHP, files are uploaded in PHP, and files are generally uploaded through move_uploaded_file.
Bool move_uploaded_file (string filename, string destination) this function checks and ensures that the file specified by filename is a valid Upload File
Outdated first-generation php + mysql with ajax technology, provincial/municipal level 3 linkage, no refreshing menu source code, absolutely original
Test address: http://www.mlmm.cn/mypage? Name = ceshi
Test page code:
The code is as follows:
PHP function utf8 to gb2312 encoding today, I am too low! If the conversion is successful, you cannot see the characters. if there is a problem in usage, check the source file.
AndThe tag becomes:
Are you confused? /Title>,
All content is pulled
Comparison between adodb and adodb_lite: comparison between adodb and adodb_lite
Author: happy with the wind
After the birth of adodb, I got a lot of PHPer's affirmation and support. I don't know when I came up with adodb_lite, which is a
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