Programs for sending and receiving online short messages without database

Login. php Session_start (); $ Nickname = $ name;Session_register ("nickname ");Header ("Location: hframe. php ");}?>Hframe. php This webpage uses a framework, but your browser does not support the framework. smessage. php If

Improved IP counter

// Require ('common. inc '); $ Arr_request = array (); If (count ($ http_get_vars )) { While (List ($ key, $ value) = each ($ http_get_vars )) { $ Arr_request [strtolower ($ key)] = $ value; } } If (count ($ http_post_vars )) { While (List ($ key, $

File Upload implementation

File Upload implementation If you are familiar with ASP, you may know that it is not easy to upload files using ASP. php is different and easier. For example, send.htm and get. php are as follows: Send this file: The followingCodeReceive

In-depth understanding of PhP4 (2)-revisit the past

So, you can understand the "while" loop-it executes a series of commands until a specific condition is met. However, now let's think about what will happen if the first repetition of the condition meets the condition? For example, in the above

DIY three-step counter creation (on)

Most people are eager to use databases for counters, message books, forums, and other things. This article will introduce self-made counters. Program. First, create 0 ~ 9 place the 10 GIF Digital Images in the IMG folder and create a PHP file. --

Tips for sending emails after registration

// Mail. php // Read the email content $ Filename = "wellcom.txt "; $ FD = fopen ($ filename, "R "); $ Contents = fread ($ FD, filesize ($ filename )); Fclose ($ FD ); // Replace the corresponding content$ Contents = eregi_replace ("", $

Community (phpmysql) 4

Echo " "; Echo " "; Echo " "; Echo " "; Echo " "; Echo " clip "; Echo " only exist "; Echo " Lai "; Echo " "; Echo " signature stamp "; Echo " "; $ Qsql = "select * From bbs_subj where id = '$ Sid '"; $ Rs = mysql_db_query ($ SQL ['db'], $

Simulation of OICQ Implementation ideas and core program (3)

5 send, read, and reply chat messages Program -Shortalk. php Require ("require. php"); // determines whether the user is a valid Online Utility?> Short Message If ($ action = "View "){$ TMP = mysql_fetch_array (mysql_query ("select sender,

Script for creating the file exchange function (2)

// Upload. php This is the interface for uploading files, which can be made in any editor. Note that Enctype = "multipart/form-Data" section. This must not be an error; otherwise, the server will not know that you are uploading files. There is

Script for creating the file exchange function (1)

For work reasons, you need to install a file exchange item on the LAN, or you can create a function block for downloading files. PHP, MySQL, and Apache are used. Program Post the compilation process because some Oso Article Is a supplement, I also

A domain name query Program

(Two string functions are used: implode () and explode) My domain name query Source code It mainly uses two string functions: implode () and explode, which can be queried by cutting the powerful functions of strings. com ,. net ., org ., cc ., the

Access oracle815 with PhP4

Access oracle815 with PhP4 on ipvsws 2000 Server System Environment:1. Operating System: Windows 2000 Server2. Database: Oracle 8i R2 (8.1.6) for NT Enterprise Edition3. installation path: D: Oracle Install and configure PhP4:Step 1: Open the

Chatting Room phpmysql (2)

// Name = "frame2.php" on the second page" Include "../signup/MySQL. php ";Header ("expires: Sun, 28 Dec 1997 09:32:45 GMT ");Header ("cache-control: No-cache, must-revalidate ");Header ("Pragma: No-Cache ");Header ("Content-Type: text/html;

Create a message board with the drop-down Function

If there are too long messages in the message board, the page will be very long. Do you think it is uncomfortable for those long message boards? Every time you have to pick up the scroll bars many times. If only the title appears at the beginning,

Processed by NPC deputies-Query

// Book Program For a search, currently designed to serve Article Library. // Editor: Kong xiuxiang. Date: 2001/4/10 If (! $ Uploadaction ): Require "config. php3 "; If (! Isset ($ table )){ // $ Table = "artical "; } /* $ Link_id = @

Processing Procedures for NPC deputies to the people's congress (Supplement)

Note: 1. I have used a set of copies by myself. Program Because I saw a discussion on full-text search on the Forum, I did not care about the programming level of cainiao, but I also published it to the public. 2. The NPC may copy full-text CDs in

Implement "Previous Page" and "next page button"

// This example is taken from phpbuilder.com. // A little Translation // $ Limit = 20; // number of lines displayed per page$ Numresults = mysql_query ("select * from table where your conditional here order by whatever"); // replace it with the

How the session works

Next, let's take a look at how the session works. I wonder if you know how to implement identity authentication through cookies. First, generate a unique cookie as a sign of user identity and register it in the database. Then, the cookie passed by

Create a dynamic WML site (3)

Then, you must enter it in the next file (index3.wml. We ask the user to enter the subject name or the professor's surname. Pay attention to how variables are transmitted between pages. The syntax seems a bit complex, but it helps you understand how

Library Management Procedure (2)

Input part of the library directory: If (! $ Uploadaction ): ?> // Book Program It is used to enter the title, author, and Publisher Information. // Editor: Kong xiuxiang. Date: 2001/3/24 /* Session_start (); If (! Isset ($ auth_passed )){ Echo

Total Pages: 64722 1 .... 53756 53757 53758 53759 53760 .... 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.