PHP code queried by whois

PHP code queried by whois Use the following function to obtain the complete details of any domain name user. Function whois_query ($ domain ){ // Fix the domain name: $ Domain = strtolower (trim ($ domain ));

PHP multi-dimensional array sorting

PHP multi-dimensional array sorting /* Function: sorts two-dimensional arrays by specified key values. $ Array = array ( 0 => array ('id' => 8, 'username' => 'phpernote '), 1 => array ('id' => 9, 'username' =>

PHP simple image verification code implementation

PHP simple image verification code implementation // The first code generates a random image ------ code2.php // Enable session to save the generated content Session_start (); $ Table = array ( "Pic0" =>

PHP time processing functions-php Tutorial

PHP time processing functions // Mktime () Convert date and time to unix timestamp // Time () Obtains the unix timestamp of the current time. Echo date ("Y-m-d", mktime )).""; //

Php generates tag cloud based on word frequency

Php generates tag cloud based on word frequency Given a piece of text, this code analyzes the word frequency distribution of the text and generates a tag cloud /** * Tag cloud demo based on word frequency * @

Definitions of common PHP header

Definitions of common PHP header Header ('http/1.1 200 OK '); // OK for normal access Header ('http/1.1 404 Not Found '); // notifies the browser that the page does Not exist Header ('http/1.1 301 Moved

Php bar chart

Php bar chart /*** * @ Project Bar Graph Program * @ License GPL * @ Package * @ File GrapBar. php * @ Date 2007-4-3 * @ Version 1.0 * @ Last modified * Define the column

Php checks whether the browser is a mobile device

Php checks whether the browser is a mobile device This code can be used to check whether users are using mobile devices to browse the web page. $ Mobile_browser = '0 '; If (preg_match ('/(up. browser |

Object-oriented mysql database operations php class

Object-oriented mysql database operations php class Class database { Var $ host = NULL; Var $ username = NULL; Var $ password = NULL; Var $ databaseName = NULL; Var $ link = NULL; Var $

Php numeric to Chinese character amount

Php numeric to Chinese character amount /** * Convert numbers to Chinese * @ Param string | integer | float $ num target number * @ Param integer $ mode [true: Amount (default), false: Normal number] *

Php dynamic processing of images and output display

Php dynamic processing of images and output display Php dynamically changes the image size and outputs the image. use the following address when outputting the image:Image_resize.php? Img‑image.jpg & w = 150 & h = 150 & constrain = 1W and h

Php uses GD to create a thumbnail that maintains the aspect ratio

Php uses GD to create a thumbnail that maintains the aspect ratio /** * Create a thumbnail image from $ inputFileName no taller or wider * $ MaxSize. Returns the new image resource or false on error. * Author:

Php does not break the word truncation substring

Php does not break the word truncation substring Php does not break the word truncation substring /* Snippet (phrase, [max length], [phrase tail]) Snippetgreedy (phrase, [max length before next space], [phrase tail])

PHP watermarks images in different locations based on the Color Field

PHP watermarks images in different locations based on the Color Field PHP watermarks images in different locations based on the Color Field Function add_wm ($ nmw_water, $ src_file, $ output_file, $ x, $ y ){ If (file_exists

MySQL addition, deletion, modification, and query tools PHP class

MySQL addition, deletion, modification, and query tools PHP class In the past, the development project did not use a framework. it is a useful mysql tool class for object-oriented development. Header ("content-

PHP web page capture-php Tutorial

PHP web page capture Header ('content-Type: text/html; charset = utf-8 '); /** * A class used to capture images */ Class download_image { Public $ _ save_path = NULL; // save path

Remove BOM documents from PHP

Remove BOM documents from PHP // Remove the UTF-8 boms // By magicbug at gmail dot com If (isset ($ _ GET ['dir']) {// Directory of the file to be removed. if no parameter is set, the current

The cell phones of network administrators are amazing: One-click fault reporting and ticket O & m it systems

The cell phones of network administrators are amazing: One-click fault reporting and ticket O & m it systems The cell phones of network administrators are amazing: One-click fault reporting and ticket O & m it systemsIT operation and

Php uses the GD library to generate thumbnails

Php uses the GD library to generate thumbnails Header ("content-type: text/html; charset = gbk "); Ini_set ("date. timezone", "Asia/chong "); // Determine whether the file is empty

Generate verification code

Generate verification code Require_once ('string. func. php '); Function verifyImage ($ type = 1, $ length = 4, $ pixel = 0, $ line = 0, $ sess_name = "verify "){

Total Pages: 12780 1 .... 12533 12534 12535 12536 12537 .... 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.