A multi-function PHP image processing class

Image processing functions: Zoom, cut, frame, watermark, sharpen, rotate, flip, transparency, invert color, process and save the history of the idea: when there are changes in the picture to automatically generate a new picture, naming method can be

High-efficiency renminbi capitalization program PHP version

RMB amount to Capitalization program PHP version Class ext_num2cny{ Static $basical = Array (0=> "0", "one", "II", "three", "Restaurant", "WU", "Lu", "Qi", "ba", "JIU"); Static $advanced =array (1=> "Pick", "Bai", "Qian");

PHP gets the start timestamp and end timestamp for today, yesterday, last week, this month _php tutorial

Copy CodeThe code is as follows: PHP gets today's start timestamp and end timestamp $beginToday =mktime (0,0,0,date (' m '), date (' d '), date (' Y ')); $endToday =mktime (0,0,0,date (' m '), date (' d ') +1,date (' Y '))-1; PHP gets yesterday

Php+mysql's article Management system (i) _php tutorial

############################################### This article is original, if quoted, please indicate the author's information. Email:leo_cdp@yeah.net http://www.cfeng.net/ This code is reproduced arbitrarily, use please keep this statement ##########

PHP class to add a watermark to a picture

Support text watermark, image watermark support watermark location random or fixed (nine Gongge) Watermark Transparency settings (image watermark and text watermark are supported) text watermark font, color, size set picture watermark background

PHP dynamic processing picture after output display

PHP dynamically change the image size after output, the output image using the following address:Image_resize.php?img=image.jpg&w=150&h=150&constrain=1W and H are the dimensions to be displayed Header ("Content-type:image/jpeg");

PHP Configuration _php Tutorial for CGI and module to run separately

php:php Version 5.0.0B4 apache:apache/2.0.49 (WIN32) 1, as CGI to run 2, as module to run 1, as a apache2 CGI run scriptalias/php/"c:/php/"AddType application/x-httpd-php. phpAction application/x-httpd-php "/php/php-cgi.exe"Add the above code to

File Upload class _php tutorial

Examples of Use: upload.php Include_once "upload.class.php"; if ($Submit! = ") { $FILEARR [' file '] = $file; $FILEARR [' name '] = $file _name; $FILEARR [' size '] = $file _size; $FILEARR [' type '] = $file _type; /** file types allowed to upload *

PHP Get Visitor IP Address

Get the visitor's IP address [PHP] Code static public Function GetIP () { if (getenv ("Http_client_ip") && strcasecmp (getenv ("Http_client_ip"), "Unknown") { $ip = getenv ("Http_client_ip"); }

Install the PHP4.0 version _php tutorial on IIS

This article is written in the Windows 2000 Simplified Chinese version (IIS5.0) environment, in Windows NT 4.0 IIS4.0 should also be suitable, have any questions please tell me, here thank you, ^_^ 1. Software

_php tutorial on the concept of Session in PHP

What is a session? It is difficult to translate the session directly into Chinese, which is usually translated into time domain. In computer terminology, a session is a time interval between an end user communicating with an interactive system,

Xing Lin Yearbook (vii) _php tutorial

Guestbook section: Class Members Guestbook: Display message: class/notebook/index.php Session_Start (); Start session if (!session_is_registered ("Userregister") | | ($userregister = = "")) Check whether registration, such as Userregister is not

PHP scripting Database features in detail (medium) _php tutorial

Using PHP to save files to a database A database is the center of data organization and storage. It is also possible to process a variety of data, including programs, files, reports, and even audio and video data. As a result of the browser,

Xing Lin Yearbook (iv) _php tutorial

Personal Management: Class Address Book: class/address.php Session_Start (); Start session if (!session_is_registered ("Userregister") | | ($userregister = = "")) Check whether registration, such as Userregister is not registered or session is NULL,

PHP Novice (13) _php Tutorial

PHP Resources PHP Resources You can learn more about PHP3 through the many resources on the web. Many mailing lists and books are very useful to you. 12.1 Site PHP's explosive popularity has led to the advent of many PHP-based sites overnight,

A class _php tutorial for an ODBC-connected MSSQL paging

Class pages{ var $cn; Connecting database Cursors var $d; Cursors that connect to a data table var $result; Results var $dsn; DSN source var $user; User name var $pass; Password var $total; Total Records var $pages; Total pages var $onepage; Number

Detailed domain name query program without database PHP version (2) _php tutorial

File Two: error.tml the domain name you queried [>domainext [>error_msg Query rule: First you need to enter the domain name and domain suffix of the query. Do not add "www." Before the domain name, "www." is the hostname,

Compare MySQL and Oracle database performance with PHP _php tutorial

Test Hardware Description: The test is using my Love machine, configured as follows: cpu:c433 Memory: 128M HDD: Cool fish 2 generation 20G Test Software Description: WIN32 under Windows NT Server4,sp5,apache 1.3.12,php3.0.15 and Php4rc1,mysql 3.22.2

A Chinese string intercept function in PHP _php tutorial

PHP Code: -------------------------------------------------------------------------------- /** @Author: LAD @URL: http://www.cnpik.com/ @E_mail: lianxiwoo@sohu.com @ casual use, no money:-) */ function Cnsubstr ($string, $sublen) { if ($sublen

PHP Novice (vi) _php tutorial

Building a simple interactive website (ii) 5.5 Counter Let's add a counter to the home page. This example has been spoken many times, but it is helpful to demonstrate how to read and write files and create your own functions. Counter.inc contains

Total Pages: 5208 1 .... 956 957 958 959 960 .... 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.