Talking about PHP drawing (d) (end)

To the front, we have been able to use GD to complete the basic needs of mapping. But sometimes I'm afraid I'll imagestring The five fonts you can use are small and ugly, and you'll need to use the following function. This function allows us to use

PHP generates a validation code with a snowflake background

Verification Code effect Reference (source code) http://mail.htjs.net/yanzhengma/test.php Modified on the basis of http://www.dev-club.com/club/bbs/showEssence.asp?id=20768&page=1 Session_Start (); Session_register ("Login_check_number"); Last

With a PHP ob

Although a lot of methods, but easy to use, I think it is first to determine the generated first page file generation time and the difference between the existing time, if you meet a value began to generate, this method is easy to compare, not much

PHP Paging function

Page Pagination | functions ? Paging function Function Genpage (& $sql, $page _size=20) { Global $prepage, $nextpage, $pages, $sums; Out param $page = $_get["page"]>=1?$_get["page"]:1; $eachpage = $page _size; $pagesql = Strstr ($sql,

Dom XML functions in PHP

dom|xml| function DOM XML functionsThese functions are only available if PHP is configured with--with-dom=[dir], using the GNOME XML library. You'll need at least libxml-2.0.0 (the beta version won't work). These are functions have been added in PHP4

A small comparison of the efficiency of PHP function execution

is to "split" the numbers in the original array into "single" bits. Here is a function written by yourself: Copy CodeThe code is as follows: function Splitstrtoarray_mine ($array) { $new _array = Array (); foreach ($array as $value) { $value =

Generate Excel files in PHP

Excel| Build Excel PHP to generate Excel documents is too simple, it is estimated that everyone will use, so share out.Let's look at the code:?Header ("Content-type:application/vnd.ms-excel");Header ("Content-disposition:filename=test.xls");echo

PHP5 Tutorial: PHP's GD module generates barcodes

The version of PHP5 is used in this article. Note that the GD module of PHP should be turned on before use. gd.so for Php_gd2.dll,linux in Windows. Extract the compressed file to Apache and execute http://localhost/barcode/index.php. PHP5 generate

Use PHP to add users to your Windows system

Window Because you are adding users, the user who runs the PHP program must be an administrator, and the security mode in your php.ini is not turned on, and the function of system (), exec (), PassThru () is not turned off in the shutdown function.

PHP Port Scanner

Codz by AngelWelcome to my WebsiteHttp://www.4ngel.net $youip = $HTTP _server_vars["REMOTE_ADDR"];        //Get native IP address $ remoteip= $HTTP _post_vars[' Remoteip '];             /Get form Submit IP address ?> Security Angel--Port

PHP Paging class Instance code

PHP Paging Instance code, we can refer to the next. Class Page{private $pageSize;//How many lines per pagePrivate $absolutePage//Current pageprivate $pageCount;//Total number of pagesPrivate $totalNum//Total rowsprivate $prePage;//Previous

Installation of PHP under Windows 2003 Enterprise Server, IIS6.0

Some friends are reflected in the Win2000 IIS and PHP work well, in Win2003 Enterprise Server, PHP does not work according to the practice under 2000. In fact, under the Windows2003 installation is very simple, but Win2003 in the IIS6.0 of the

PDO does not promote, PHP can not be developed

The PHP development team joined the PDO module from v5.1, and he defined a lightweight, consistent interface for the PHP Access database, which provides a data access abstraction layer so that whether you're using MySQL, MSSQL, or any other database,

Simple and practical way to generate static pages in PHP

Although a lot of methods, but easy to use, I think it is first to determine the generated first page file generation time and the difference between the existing time, if you meet a value began to generate, this method is easy to compare, not much

Using PHP to realize page-flipping in web development

We all know that using Php+mysql in the Web page to implement the database data display is very simple and interesting, very few database data in the case of the page display is still satisfactory, but when the database data is very many cases, the

How PHP implements page gzip compression output

GZIP (Gnu-zip) is a compression technique. The page size can be turned into 30% or smaller after gzip compression. This way the user will feel very happy when browsing!To achieve the GZIP compression page requires a common browser and server support,

PHP Single example: only in the entire page cycle only

Since ASP.net is compiled, a singleton is always present in the lifecycle of the application, and it is truly possible to be unique in the application life cycle. The existence of a single example pattern is more meaningful in some cases, such as

PHP Invoke TinyURL API Source Example

TinyURL is a shortened web site service, you can turn a long web site into a simple address, usually the way to create TinyURL is to its homepage to create, sometimes there will be users in the client automatically generate TinyURL situation

PHP Learning PHP expressions

PHP expressions An expression is the most important component of PHP. In PHP 3.0, almost everything you write is an expression.    The simplest but precise definition of an expression is "anything with a value". A simple example is constants and

Php&java (i)

Mark Nold Joost Soeterbroek Java is a very powerful programming tool, its extension library is also very useful, this tutorial, mainly on how to use PHP invoke powerful Java class library (classes). To facilitate your study, this tutorial will

Total Pages: 12780 1 .... 3263 3264 3265 3266 3267 .... 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.