Learn more about php4--back to the future

For those who are not familiar with this concept, the loop is a control structure that allows you to reuse the same series of PHP commands over and over again. The number of actual repetitions can be determined by yourself. The first, and simplest,

PHP's Column Navigation program

$d _label=array ("service" and "paid services", "teach" and "Family Tutor Center", "union" and "Campus Service Alliance", "job" and "student part-time", "free" and "information base") ; $directory = $REQUEST _uri; while ($directory! = "/") { $d

Make a message version with pull-down function

Message version has too long message will put the page to support a very long, everyone to those very long message version is not feel uncomfortable to see, every time a lot of scroll bar. If only the title appears at the beginning of each time,

Chat room Php&mysql (b)

Second page name= "frame2.php" Include ". /signup/mysql.php "; Header ("Expires:sun, Dec 1997 09:32:45 GMT"); Header ("Cache-control:no-cache, must-revalidate"); Header ("Pragma:no-cache"); Header ("content-type:text/html; Charset=${charset} ");

Chat room Php&mysql (i)

First page name= "index1.php" Include ". /signup/mysql.php "; $time 1=time (); $userid = 983530409; Echo $n; if ($n ==1) { $userid =time (); $nick = "G". $userid; $last _time= $userid; $sql = "INSERT into Chat_user (userid,id,last_time) VALUES

A Domain name Query program

(mainly using two string functions implode () and explode) I made the domain name query source code, mainly with two string functions implode () and explode, using these two functions of the powerful function of cutting strings can be queried.

An example of a simple implementation of a multi-conditional query

In our site design process, often use multi-conditional query, the source of this article is a second-hand housing query example. In this case, we are going to be able to find the information that we need through a number of conditions, such as

How to implement dates after several days of a given date

These days suddenly a lot of people ask such a question, is how to implement in PHP in VB DateAdd function, hehe! But this is a question. Originally this problem is tofu to Huawei applied for a test question, but it was implemented in C + +. Did not

Support Oicq Avatar's Guestbook (ii)

addnote.php Add message                    Include ("config.php"); if ($submit) { $time =date ("Y year m D-day h:i:s A"); $IP = $REMOTE _addr;//message IP address $name =trim ($name); $email

Using PHP to achieve link popularity statistics

The first thing to note: This is not the homepage counter, although the principle and it is the same. A: Prepare a count file, store the URL of the link and the number of visits, formatted as follows Id|url|count The ID is used to find the index

PHP4 Practical Application Experience (2)

Author: Sun Sports Now you uncover the other half of the puzzle-the "login.php" script file. If nothing happens, the script will accept the input name, check if the user exists, decide whether to allow or deny access to the site. Since you have not

A ubbcode function that is fast.

I saw someone publish in front But it's slow and it's very long. This gives a function Ubb ($STR) { $color =array (' Red ', ' blue ', ' green '); $str =eregi_replace (' \[url\] ([a-za-z0-9@:%_.~#-\?&]+) \[\/url\] ', ' \\1 ', $str);//url $str =eregi_

A program Download Management program (i)

Several features of the program are: 1: The Complete search engine 2: Three sorts of objects. (Time to join, number of downloads, program name). and two sorting methods (in reverse order). 3: Administrator changes at any time. 4: Report link error.

Basic PHP and MySQL tutorial (ii)

Data validation Clean up spaces The TRIM function clears the space at the ends of the data, and its syntax is: Trim ($first _name); Processing of required fields In your database, some fields must be filled in. The corresponding fields

Text-based visitor booklet

A very casual opportunity, on the Internet to see someone using php+mysql made a visitor sign book, when it felt very useful, so I also want to engage in a. But with MySQL feel a little bit in the wood, so a text-based visitor sign-in book. Its

Implement Automatic News scrolling window with Php+java

show.php Source code: if ($action = = "CP") { Echo   Scrolling menu Data input   "; exit;} if ($action = = "Edit") { $wname = "Data.txt"; #数据保存文件, Property 666 $writeurl = "$t 1 $t 2 $t 3 $t 4 $t 5 "; $FP =fopen ($wname, "w"); $ww =fputs (

PHP personal website set up a serial talk (ii)

Three first page press release to make your update easier (ON) --------each time in the first page to add a message, add two words, you have to upload the entire page, it is not worth! So like the blue wind this lazy like a once and for all, real

Database-Free detailed domain name Query program PHP version (4)

File 11: searchform.tml File 12: searchmain.tml Welcome to use the website to provide the domain name inquiry procedure. Please enter the domain name you want to query and select its extended domain name (for example, ". com", ". Net", ". org"

Play the virtual domain +.

Play the virtual domain +. I do not know whether you recently discovered a new phenomenon on the Internet, that is, some sites began to provide "username@server" virtual domain Name services. Because of the charm of "@", you may think: "If I can

Complete Webmail solution installation based on QMail

Installation platform: Linux,solaris Version: qmail-1.03 Installed machine: mail.mydomain.com Package: qmail-1.03 QMail Basic System ucspi-tcp-0.88 Tcpsever Service Program daemontools-0.70 Monitoring Tools checkpassWord-0.81 POP3 Verifying the

Total Pages: 5208 1 .... 2131 2132 2133 2134 2135 .... 5208 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.