A mysql-based login verification program

? **************************************** * ************* Filename: login. php3LoginCheck encoding: PHP4 by: KevinLeewebwing@21cn.comDatabase: MySQL. Host: localhostDatabase: mydbTablestructurefortableuser --------------------------- /**************

A program to test shared memory in linux

1share. php allocation delete shared memory? Phpif ($ stop! 1) {determine whether $ shm_id @ shmop_open (0xff3, a, 0644,100) has been created; if ($ shm_id) {echo memory block has been created n; exit ();} create a 100-byte shared memory block

We often need to process some dates in the unit of weeks. The following code generates

For example, today is. the following code generates a drop-down list of the dates of the first 10 weeks of this week .? Php $ t_monthdate (m); $ t_daydate (d); $ t_yeardate (Y); while (date (D, mktime (0, 0, 0, $ t_month, $ t_day, $ t_year ))! Sat) $

My PHP tree code can be nested at any layer

P? $ Handleora_plogon (sender, password) ordie (database connection failed !); $ Cursorora_open ($ handle); file: public cursor $ cursor_treeora_open ($ handle); file: create a dedicated tree cursor $ num0; file: save the cursor value variable

Use PHP to determine whether oicq is online.

OICQ Source: keniv & nbsp; & lt ;? Functionget_status ($ uin) {$ fp @ fsockopen (& quot; infocenter.tencent.com & quot;, 80, & amp; $ errno, & amp; $ errstr, 30); if (! $ Fp) {return error;} else {fputs ($ fp, & q OICQ Source: keniv Function

Php code for calculating the permutation and combination

A few days ago, because the business needs to write a piece of code for calculating the arrangement and combination, I sorted it out today for future use? Php *** mathematical problem to be solved: Calculate C (a, 1) * C (B, 1 )*... * The

Code used to test php functions

Today, I suddenly thought of writing a piece of code to test the php function .? Php *** parameter array $ ParamList description ** the first-dimension index of the array is the parameter name of the function to be tested. each element of the second-

Automatically generate PHP programs for static news lists

* Copyright: Sunrise XP 2004.7.17 * functionCreateShtml () {ob_start (array (callback_CreateShtml, callback);} functioncallback_CreateShtml ($ buffer) {$ pageintval (@ $ _ REQUEST [page]); $ fileName $ _ SERVER [DOCUMENT /* Copyright: Sunrise XP 20

Use MaxMind to locate visitors by IP address

Sometimes you need to know the country in which your site visitors come from-for example, if you are planning to launch an advertising program for a geographical region. This document introduces this method. Sometimes you need to know the country in

Build a message book with PHP

The following is the configuration description: For the convenience of configuration, the code is reorganized. now all the parameters to be set have been placed in config. php file, configuration should be very simple, there are detailed

Use PHP to achieve static WEB pages

In recent years, the World Wide Web (also known as the World Wide Information Network (WWW) has continuously changed the face of information processing technologies. WEB has quickly become an effective medium for people to communicate and

PHP implementation framework of online bidding system (I)

I previously gave a class for displaying mysql records by page, but did not give an example for use. now, I have sorted out a framework program of the online bidding system I just wrote, this section describes how to use this class, and discusses

Use PHP to send emails

A script that sends a E-MAIL may be one of the most common scripts you can find on the Web site, although it is very simple, a Mail script can sometimes make programmers very frustrated. in PHP, there is a function called mail (). it only needs to

Another solution for MAIL in PHP

Some time ago, I came into contact with DECTru64Unix. I installed PHPAPACHE on it. I can use the provided mail function to send emails normally, so I compiled a function, it uses UNIX pipelines and php sock functions to send emails. the experiment

Management Program for a program download

Some functions of this program include: 1: Complete Search Engine 2: Three sorting objects. (add time, download times, program name ). and two sorting methods (reverse order, order ). 3: The administrator can modify the settings at any time. 4:

Chinese display in image functions

Convert the GB code to UTF8. in php, TTF supports UTF8 encoded non-ASCII characters. after analyzing this code, we found that the image can be output in combination with Chinese characters and ASCII characters, which makes it easier for us to

Recommendation article system (I)

I have always wanted to create a system that allows users to recommend articles, but I have never had time to complete it. Now we have finally finished it. And put it on my personal website: Bamboo Garden bamboo.oso.com.cn. In order to promote the

Using XML technology to construct remote services in PHP (I)

In the future, the Web will be service-centered. XML_RPC makes writing and application services very simple. This article introduces the XML_RPC standard and its PHP implementation, and demonstrates how to develop the XML_RPC service and customer

Use PHP3 for HTTP authentication

The HTTP authentication function can be used only when PHP runs in Apache module mode. In the Apache module PHP script, you can use the Header () function to send an "AuthenticationRequired" message to the client's disconnected browser, so that the

PHPMYSQL article management system

######################################## ####### This article is original, if there is any reference, please indicate the author information. Email: leo_cdp@yeah.netwww.cfeng.net this article code arbitrary reprint, please retain this statement #####

Total Pages: 12780 1 .... 7902 7903 7904 7905 7906 .... 12780 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.