Add GD library and SQL 2000 support for PHP

These support are not installed by default, so you need to manually add: Download it here Http://www.php.net/downloads.php#v4 In: Windows Binaries All windows binaries can be used on Windows 98/me and on Windows NT/2000/XP/2003.

PHP Photo upload and Management example

Function: Upload a photo to display the uploaded person, upload time, image name, image size, and image description. Note: 1. Some Home Page spaces may not support temporary file operations after uploading. You can only try another one. 2. Program

PHP class full-featured mail sending class

CopyCode The Code is as follows: Class email { // --- Set global variables VaR $ mailto = ""; // recipient VaR $ mailcc = ""; // CC VaR $ mailbcc = ""; // Private CC VaR $ mailfrom = ""; // sender VaR $ mailsubject = ""; // topic VaR $ mailtext = "";

Getting started with PHP. net

PHP is a tool for creating dynamic web pages. Embedded PHP Code The web page is like a common HTML file. You can use any editor you like to edit it. The object described in this tutorial is PHP 3.0. What do I need? In this tutorial, assume that

The simplest PHP Program-calculator

Principle: 1. The first user browses a page. 2. The number of times the server program reads the page from the database or file. 3. Store the number of times and send it back to the first user. 4. The second user browsed a page. 5. The number of

Codeigniter php mvc Framework Chinese website

We are pleased to announce the official release of codeigniter 1.6.2. This release includes over 29 bug fixes and 34 function supplements and enhancements. These include improving the interaction between "active record" and transactional databases,

Advanced PHP injection methods page 1/2

'% 23 'And Password = 'mypass Id =-1 Union select 1, 1 Id =-1 Union select char (97), char (97), char (97) Id = 1 Union select 1, 1 from Members Id = 1 Union select 1, 1 from Admin Id = 1 Union select 1, 1 from user Userid = 1 and

Tutorial on configuring FastCGI php In IIS6

FastCGI's IIS module enables popular application frameworks to support the FastCGI protocol on IIS to provide high-performance and available access services. FastCGI provides high-performance CGI substitution standards for existing network servers.

PHP output cache details

The output control function does not affect the header information sent when header () or setcookie () is used. It only applies Code . Let's take a simple example to give you a general impression on Output Control: Example 1. Copy code The Code is

PHP function for obtaining the first letter of Chinese characters and Pinyin

PHP obtains the first letter of Chinese pinyin CopyCode The Code is as follows: Function getinitial ($ Str) { $ ASC = ord (substr ($ STR, 0, 1 )); If ($ ASC { If ($ ASC >=48 & $ ASC Return '1'; // number } Elseif ($ ASC >=65 & $ ASC Return CHR ($

How to get started with PHP

Everyone has different ways of learning. The purpose of this article is to share their learning process for reference only. Do not blindly use others' learning methods to find useful learning methods for yourself. Original: negoo (Fang Xiao)Source:

Php: Your verification code security code?

Verification codes are mainly used to prevent brute-force cracking, malicious bumping, and automatic submission. I will not describe them here. The types of verification codes include numbers, letters, and even Chinese characters. However, no matter

Several configuration file functions in PHP

Php configuration functions are several ini _ * functions, mainly for configuration file operations. In fact, there are four functions: ini_get, ini_set, ini_get_all, and ini_restore. The most useful ones are ini_set and ini_get. * Ini_get (): gets

Class in PHP-What is Class

Before explaining the concept of classes, let's talk about the concept of object-oriented Programming: Object-oriented Programming (Object-Oriented Programming, short for OOP) is designed to create software to reuse code, it has the ability to

PHP interview questions

Interview question 1 1. Use PHP to print the time format of the previous day in the format of 22:21:21 2. Differences between echo (), print (), and print_r () 3. templates that can be used to split HTML and PHP 4. How to Implement PHP and JSP

PHP multi-dimensional array sorting implementation code

Array_multisort (PHP 4, PHP 5) Array_multisort -- sorts multiple arrays or multi-dimensional arrays. Description Bool array_multisort (array ar1 [, mixed arg [, mixed... [, array...]) If the call succeeds, TRUE is returned. If the call fails, FALSE

Several php pen questions from night passers-

I. Basic Questions 1. Write the output results of the following program Copy codeThe Code is as follows: $ Str1 = null; $ Str2 = false; Echo $ str1 = $ str2? 'Equality ': 'unequal '; $ Str3 = ''; $ Str4 = 0; Echo $ str3 = $ str4? 'Equality ':

Php image function example (non-original)

The following is a method: If (! Function_exists ('imagecreate ')){ Die ('the current server does not support GD module '); } If not, how can I configure it? Download the dll file of the gd module, modify php. ini, and restart the server. The PHP

Purpose of using eAccelerator to accelerate PHP code

Use eAccelerator to accelerate PHP code EAccelerator is really a good thing (its predecessor is truck-mmcache ). Simply put, it is a cache system that works with PHP (supporting PHP5) and exchanges data through shared memory or disk files. It is

A paging text-based PHP message board source code page 1/2

The younger brother was a beginner in PHP and compiled a message board program. He felt good about himself, so he put his face up. please correct me. The source program is as follows: // File name: guest. php // Settings $ Guestfile = "guest"; //

Total Pages: 12780 1 .... 2290 2291 2292 2293 2294 .... 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.