Free uploading of multi-user files without databases to the voting system (2)

This is the download. php of the system. It is mainly responsible for downloading and recording data. The file format is described in the annotations. // Input num as the file number to be downloaded, Col = column to be downloaded// Ip

Session function of PhP4 (1)

PhP4 is added with session support over php3. I used it a little bit. For its function interface, internal mechanism, I have a rough understanding of the ease of application. The meaning of a session should be clear. A session can contain HTTP

Community (phpmysql) iii

Function prev_subj ($ id ){ $ Droot = getenv ('document _ root '); Include ("SQL. php3 "); $ Db = mysql_connect ($ SQL ['host'], $ SQL ['user'], $ SQL ['passwd']); $ Qstr = "select ID, aid from bbs_subj where id = '$ id '"; $ Rs = mysql_db_query ($

Source code of my Forum (5)

Okey. php mainly processes user login and publishing information. If ($ username) // whether user information exists$ Useinfo = $ username. "|". $ userpass;Setcookie ("flyfoxnet", $ useinfo, time () + 3600 ); If ($ d = q) setcookie ("flyfoxnet")

Implementation and skills of dynamic News Publishing

A website must be developed on a certain scale. Dynamic news publishing is essential. There are many implementation methods. We recommend that you use text files to generate them quickly and easily. Okay. Let's get started immediately. First, assume

Database-based statistics on online users and daily visits

Online User count statistics, daily traffic statistics, and monthly traffic statistics are available ..... $ SQL = "CREATE TABLE guestinfo (ID integer default '0' not null auto_increment,IPaddress varchar (20 ),Host varchar (20 ),Cometime

Chatting Room phpmysql (1)

// Name = "index1.php" on the first page" Include "../signup/MySQL. php ";$ Time1 = Time ();// $ Userid = 983530409;Echo $ N; If ($ n = 1 ){$ Userid = Time ();$ Nick = "g". $ userid;$ Last_time = $ userid;$ SQL = "insert into chat_user

Paging code for text message book

// When writing a file, use "|" to separate each record. "|" is used to separate fields in the record. // If record 1 is $ str1 = $ name. "| ". $ pass. "| ". $ title. "| ". $ message. "| ". ......... // Connect to record 1 and record 2, $ STR = $

Practical Application Experience of PhP4 (4)

Author: Sun sports In addition to the "if" Statement, PHP also provides the "if-Else" structure to define the PHP code executed when the condition description in the statement is "false ".Code. The "If-Else" structure is used as follows: ----

Graphical Data with Flash (2)

Let's bake cookies (pie chart) After the Shockwave Flash Support in PHP is successfully installed, you can use PHP to create the shockwave file. The best way to learn is to jump directly Program So let's look at the program. Example of how to use

A very practical complete email sending program

It is very practical to send a complete email Program , Very simple, put the following Code Copy to a blank text page, such as index. php, and run it. Specific instance: http://zsvalley.uhome.net/email/index.php. The following are complete Source

Modified version of the WHOIS class

1. Simplified Code . (In fact, some unnecessary variable definitions are removed) 2. The information retrieved from InterNIC is too simple. Further query is performed based on the WHOIS server in InterNIC feedback. For example, Yahoo has more

Source code of a simple counter

$ Memo_file = "phpcount/vst.txt "; If ($ phpxcount <> $ remote_addr ){ $ Visits = file ($ memo_file ); $ Number_of_last_visit = $ visits [0]; $ Number_of_new_visit = ++ $ number_of_last_visit; $ Fp = fopen ($ memo_file, "W "); $ Fw = fwrite ($ FP, $

PhP4 Practical Application Experience (3)

Author: Sun sports In PHP, the simplest Condition Statement is an "if" Statement, which is generally as follows:--------------------------------------------------------------------------------If (condition){Do this!}------------------------------

Solution to an incompatible problem between PhP4 and php3

PhP4 is incompatible with php3, but it is mainly caused by PHP. ini in PhP4. There are some differences in the settings. These changes mainly improve the efficiency of PhP4. In the changes, the track_vars settings usually make the old php3

A concise multi-level forum

Less than 200 rows are used in this forum Code And the execution speed is quite fast. Run the example in: http://www.hnpts.ha.cn/forum MySQL database: yxforum + ------- + -------------- + ------ + ----- + --------- + ---------------- + | FIELD |

What should I do if I dynamically generate GIF images?

If you use Int imagecreatefromgif (string filename ); To retrieve a GIF image. When the background or basic canvas sample is used, draw the image on it. Note: If there is no pigment in this file, you will not be able to use it. Solution: You can

Enable the SSL Service for APACHE

1. First, check that your Apache server has an encryption module installed, which can be OpenSSL or OpenSSL + ModSSL. If your Apache web server is installed on Unix or linux, you can obtain OpenSSL through the following

A paging Forum

------------------------------- Forum -------------------------- Data Table Create table guest (id int not null auto_increment, primary key (id), title varchar (50), email varchar (30), homepage varchar (30), name varchar (30 ), text, relay int,

Support for oicq headers (2)

Addnote. php Add a message & Lt; td height = "62" width = "66%" & gt; Include ("config. php "); If ($ submit ){ $ Time = date ("Y, m, D, H: I: s "); $ Ip = $ REMOTE_ADDR; // the ip address of the contact. $ Name = trim ($ name )

Total Pages: 64722 1 .... 26872 26873 26874 26875 26876 .... 64722 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.