Wonderful use of the Output Buffer function

In PHP programming, we often encounter some functions that directly generate output, such as passthru (), readfile (), and var_dump. however, sometimes we want to import the output of these functions to a file, or process the output of these

How to export or import MySQL database structures and Data

When using MySQL, you sometimes need to export data from the database for use locally or on other database systems, or import existing data into the MySQL database. Next we will analyze how to export and import the structure and data of the MySQL

Several complementary functions of session (1)

In PHP, there are a lot of discussions about sessions. In fact, there are still several functions in PHP4 that we have not noticed at ordinary times.Let me introduce them to you.Session_set_save_handler () is really a good thing.//*******************

Several complementary functions of session (3)

!! Note: before using this function, configure the php. ini file and session. save_hadler = user. Otherwise, session_set_save_handler () will not take effect.In addition, according to my tests, if you want this session to be used across pages, you

Compile your own php extension functions (1)

Writing your own php Extension function Yorgo Sun 2002/01/22 the php program has been written for a long time. Naturally, I know all the functions provided by him. The many functions provided by him are really useful, however, sometimes you may find

PHP4 User Manual: Process Control-

ForA for Loop is a very complex loop in PHP. It acts like in C. The following is the loop Syntax:For (expr1; expr2; expr3) statementThe first expression (expr1) is the value that starts unconditionally in a loop.At the beginning of each repetition,

PHP4.1.0 is installed on the Apache module in Windows

Some features (such as user verification) require PHP to be installed in the Apache module,If you do not know how to install it, you need to know the following.Excerpt from install.txt of phpFirst, copy php4ts. dll to windows/system (for Windows

Automated Generation System for individual webpages (5)

Template generation, file name: muobanshen. php Test $ Fdd = fopen ("muoban1.txt", "w ");Fwrite ($ fdd, $ muban1 );Fclose ($ fdd );$ Fdd = fopen ("muoban2.txt", "w ");Fwrite ($ fdd, $ muban2 );Fclose ($ fdd );$ Fdd = fopen

OracleFaq (Oracle version)

If you need to reprint it, please indicate the source. Thank you! Take 8.1.7.4.0 as an example: 8: Version 1: new feature version 7: maintenance version 4: normal patch setting number 0: the special platform patch setup number is also related to

OracleFaq (OracleTAF configuration)

taf

If you need to reprint it, please indicate the source! (Thank you first ......) The configuration TAF of Oracle TAF is short for Transparent Application FailOver. Generally, the Application TAF is in the OPS/RAC environment. The purpose and idea of

Application Instance of session in PHP4 -- logon page

// This script is used to enter a password for the user and determine whether the password is correct.// If it is correct, go to the welcome page.If ($ login ){Include ("../include/config. inc. php3 ");Session_start ();$ Right_enter = 0;$ Query =

ICQ Pager written in PHP

Change the address. You can call OICQ! # ICQ Pager v0.0.1# Brazil r0x.# Thanks goes to upalele, meganha, neo, figui, lunetta and vipman (for his psychological help about iX [Egg])Class icqpager {Var $ path = "/scripts/WWPMsg. dll ";Var $ host =

The original php code of the self-made clock

This is a pure JavaScript clock generated using PHP.PHP code is not long, but JavaScript code is long.You can preview at http://disapart.oso.com.cn/temp/clock.php.You can also download the original file at http://disapart.oso.com.cn/temp/clock.txt.

The paging class written today... share

Because it was written at work, I am afraid I am sorry if it is all posted by the Department, so I have deleted the form jump. Don't be surprised... The format is relatively standard PHP code: Example/*********** | + ---------------------------------

Section 4-constructor and destructor-ClassesandObjectsinPHP54

/* + --------------------------------------------------------------------------------- + | = This article is Haohappy read > | = Notes in the middle Classes and Objects chapter | = translation + personal experience | = Do not repost to avoid

A modified function that automatically converts URLs and emails. It has powerful functions.

It can be convertedAnd mailAnd start with wwwGood. Function enable_urls ($ str ){$ Str = ereg_replace ("(www. [a-zA-Z0-9 @: % _.~ #-? &] +) "," \ 1 ", $ str); // automatically converts the link starting with www$ Str = ereg_replace ("(f | ht) {1}

Section 14th -- namespace -- ClassesandObjectsinPHP514

/* + --------------------------------------------------------------------------------- + | = This article is Haohappy read > | = Notes in the middle Classes and Objects chapter | = translation + personal experience | = Do not repost to avoid

Upload any types of files using PHP

This program allows you to upload files of any type and display or download them directly (upload_and_show.php3 ): If ($ submit){Header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT ");Header ("Cache-Control: no-cache, must-revalidate ");Header

Check whether the ISBN number is valid

[Programming language] PHP [source code source] http://px.sklar.com [function description] checks whether the ISBN number entered by the user (either with or without a hyphen) is legal. The source code is as follows:

Class. rFastTemplate. php 2

//// Description // Recursive internal parse routine. this will recursively parse a // template containing dynamic inferior templates. each of these // inferior templates gets their own entry in the TEMPLATE array. // function & parse_internal_1 ($

Total Pages: 12780 1 .... 4797 4798 4799 4800 4801 .... 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.