PHP Programming notes Sharing

Source: Internet
Author: User
Tags file upload progress bar form post php explode php file upload php foreach php form sorts time and date
Three ways to get post data from PHP
PHP image plus watermark source code
One of the simplest examples of Php+ajax+json
PHP Chinese Pinyin Source code
PHP iterates through directories, generates MD5 values for each file in the directory, and writes to the result file
PHP implements Linux command tail-f
PHP Json_encode and Json_decode usage examples
PHP Curl emulation login and get data
PHP fprintf writes the formatted string to the stream
PHP explode splitting strings into arrays
PHP CRC32 computes a 32-bit CRC of a string (cyclic redundancy check)
PHP Count_chars returns information about the characters used in the string
PHP convert_uuencode function uses Uuencode to encode a string
PHP convert_uudecode function decodes a uuencode encoded string
PHP Ternary operator Usage instructions
PHP ternary operator Examples explained
PHP const differs from define
PHP call to undefined function curl_init () in e:/w
PHP display_errors turn on debug function
PHP static const define Variable Difference
PHP uses fopen and file_get_contents to read file instances
PHP converts Excel numeric format to date format
PHP convert_cyr_string converts a string from one Cyrillic character set to another
PHP Chunk_split String Segmentation function
PHP CHR gets the ASCII value corresponding to the character
PHP chop Delete whitespace or other predefined characters at the right end of a string
PHP Bin2Hex converts ASCII characters to hexadecimal values
PHP addslashes Add a backslash before a predefined character
PHP addcslashes using backslashes to escape characters in a string
PHP functions function explanation and analysis
PHP Process Control If,switch,while,for,break and other examples of detailed
PHP Operators and expressions
PHP foreach Traversal Array instance detailed
PHP array merging array_merge and array_merge_recursive
Analysis of the difference between single quotation mark and double quotation mark definition string in PHP
PHP get_class Get_class_methods Get the current class name and function name
PHP Magic Constants Example Introduction
PHP Switch Usage examples
PHP clears the space code for all strings in the array
PHP value Assignment and reference assignment differences
Explanation of variable reference and variable destruction mechanism in PHP
The difference between the PHP die () and exit ()
PHP Line code get file suffix name
Special usage of PHP this
Explanation of the use of reference symbols (&) in PHP
PHP isset () is_null () empty () Difference and usage
PHP common functions Collection and collation
PHP and jquery real-time display the number of online website
How PHP determines if an array is empty
PHP implementation of File upload
PHP namespace Examples
PHP's implementation of an efficient database
PHP Implementation hash Table function
PHP parsing the reason why the session is invalid
Several ways to replace PHP phone numbers with asterisks *
PHP deletes duplicate values in an array and sorts
PHP cookie does not refresh and takes effect immediately
PHP file_put_contents Writing files
PHP to determine the location of the city and other information based on IP address
PHP with MySQL implementation of the user registration instance
PHP usort () sorts the array by a user-defined comparison function
PHP uksort sorting of key names in an array
PHP uasort to sort values in an array
PHP anonymous functions and considerations detailed
A few examples of new features of PHP5.6 const
How PHP disables the eval () function
The use of the PHP new self () keyword
The difference between static and normal variables in PHP
PHP share two ways to get the file suffix name
PHP uniqid Mt_rand generate random non-repeating strings
How PHP gets the last day of last month
Several ways to remove a session from PHP
How to use PHP closure class and its introduction
PHP Date_parse Function Example Explained
PHP Date_parse convert time to seconds
The PHP sort function sorts the array in ascending order
PHP Shuffle array Random ordering
PHP rsort to sort an array
The PHP reset () function points the internal pointer to the first element in the array and outputs
The PHP range function creates an array containing the specified range of cells
PHP prev Function Gets the value of the previous element of the array
PHP Next function outputs the value of the next element in the array
PHP natsort sorting an array
PHP natcasesort An array of case-insensitive alphabetical sorting
PHP list () assigns values to a set of variables using the elements in the array
PHP ksort sorted by key name in ascending order of array
PHP Krsort sorts arrays by key name in descending order
The PHP key function gets the key name of the current element in the array
PHP In_array () checks if a value exists in the array
PHP Array handler function extract (array key name as variable name, array key value as variable value)
PHP End Gets the value of the last element of the array
PHP each returns the current key-value pair in the array and moves the array pointer forward one step
PHP current Gets the value of the present cell in the array
PHP count gets the number of elements in the array
The PHP compact creates an array of variables (the variable is an array index, and the value of the variable is the value of the arrays)
PHP Asort Sorts the values of an array in ascending alphabetical or numeric order and keeps the index relationship
PHP arsort to sort the values of an array in descending alphabetical or numeric order
PHP array_walk to apply user-defined functions to each element in the array
PHP array_walk_recursive uses a custom function to process every element in an array
PHP array_values returns all values of an array
PHP Array_unshift Inserts a new value to the beginning of the array
PHP array_unique Delete duplicate values in the array
PHP Array_uintersect computes the intersection of arrays
PHP Array_uintersect_uassoc computes the intersection of arrays
PHP Array_uintersect_assoc computes the intersection of arrays
PHP Array_udiff compares the key values of two arrays and returns the difference set
PHP ARRAY_UDIFF_UASSOC with index Check the difference set of the computed array
PHP ARRAY_UDIFF_ASSOC calculates the difference set of two arrays
How to use Wp_title () function in WordPress
PHP strstr () gets all characters after the specified string
PHP Substr_count () Gets the number of substring occurrences
The difference between PHP strcmp () and strcasecmp ()
Setting enhanced configuration class instance for CI (CodeIgniter)
How PHP uses the public platform development model to achieve multi-customer service
Yii implementation method of the model to add default values (2 methods)
How Yii cleans up the cache
Joomla Database Operation Sample Code
PHP getimagesize Upload image length and width detection code
Simple PHP upload image, delete image implementation code
PHP ajax No Refresh upload image instance code
PHP upload images generated thumbnails (GD library)
Differences between sprintf and printf function usage in PHP
PHP array_sum computes all the values in the array and
PHP Array_splice deletes part of an array and replaces it with other values
PHP output JSON and display the Chinese characters in JSON
Usage differences between PHP time and date dates
PHP calculates the number of days, hours, minutes, and seconds of a two-time difference
thinkphp session writes to the database
PHP uses SMTP protocol to send mail
PHP array_slice take out a sequence in an array
PHP Array_shift Delete the first element in an array
PHP Array_search to find the specified value in the array
PHP Array_reverse returns an array in reverse order
The PHP array_replace function replaces the elements of the first array with the passed array
PHP utf-8 and gb2312 automatic conversions
PHP shares a recursive traversal of the file function
PHP prevents forms from repeating submissions several ways
PHP ffmpeg capture Video Specify frame as Picture
PHP HTTP Authentication
PHP MySQL user registration source code
PHP A full cookie login source code
PHP MySQL User login source code
PHP array_replace_recursive recursively replaces the value of the first array with the values of the subsequent array
PHP array_reduce () uses a callback function to iteratively simplify the array to a single value.
PHP Array_rand Random One or more values from an array
PHP Array_push () adds one or more elements to the tail of the array
PHP Array_product computes the product of all values in an array
PHP Array_pop Delete the last element of an array
$_server Server Environment Information detailed description
PHP urldecode decoding encoded URL strings
PHP UrlEncode encodes a string as a URL
PHP shares a function of encrypting and decrypting a string
URL encoding for PHP conversion UTF-8 and GB2312
Transfer between PHP utf-8 and GB2312 encoding
PHP determines if the string encoding is Utf-8 or gb2312
PHP Array_pad fills the array to a specified length
PHP intercepts strings in utf-8 format
PHP set_include_path Function Settings include_path configuration options
Explanation of Directory_separator constants and Path_separator constants in PHP
PHP uses Path_separator to determine the current server system type
PHP array_multisort sorting an array
PHP array_merge Array Merging
PHP array_merge_recursive Merge two or more arrays into an array
PHP share an operation (add and revise) MySQL database class
PHP Array_map uses a custom function to process each value in an array
PHP Array_keys returns the key name of the array
The PHP checkbox multi-box is selected by default for the implementation.
PHP Gets the value of the checkbox check box
PHP If you submit a form on this page, how to remember the value of the Radio radio box
How PHP Gets the value of a radio radio box
The difference between PHP array_key_exists () and Isset ()
PHP array_key_exists checks if a key name or index exists in the array
PHP Array_intersect computes the intersection of arrays
PHP uses IFRAME to upload files without flushing
PHP uses HTML5 formdata for non-flush file uploads
PHP uses HTML5 for multi-file uploads
Implementation of PHP multi-file Upload
PHP modified upload File size limit
PHP File Upload Instance
PHP Is_uploaded_file () determines whether the specified file is uploaded via HTTP POST
Three ways to transfer values between PHP pages
PHP uses input hidden to pass a value instance
PHP Array_intersect_ukey computes the intersection of an array by using a callback function to compare the key names
PHP Array_intersect_uassoc computes the intersection of two arrays using a user-defined function
PHP Array_intersect_key using key names to calculate the intersection of arrays
PHP Array_intersect_assoc compares the key names and key values of two arrays and returns the intersection
PHP array_flip the keys and values in the reverse-transfer array
PHP Array_filter Function Example Explained
PHP three ways to simulate post submissions
PHP simulates post submission with curl
PHP via Fsockopen demo Form post submission
PHP form $_post[] instance application
How PHP Gets the value of the Select multi-marquee multiple
How PHP Gets the selected value from the Select drop-down list
PHP setting option selected for select
How PHP custom functions return multiple values
PHP Array_fill fills an array with the given values
PHP Array_fill_keys () fills an array with the specified key and value
PHP extract the name of the form element as the variable name, and the value of the element is treated as the value of the variable
PHP form submitted to this page
How PHP determines which values of the checkbox marquee are selected
PHP Determines if checkbox is selected
PHP checkbox multi-box and pass value
Send mail (with CC cc and private cc BCC) to PHP mail
PHP Array_diff function usage
PHP Array_diff_ukey () function explained
PHP Array_diff_uassoc () function instance
Form instance application in PHP
PHP Simple File Upload instance
PHP Array_diff_key () Function Example Introduction
PHP Array_diff_assoc () function instance detailed
PHP array_count_values () function instance detailed
PHP Array_combine Function Example Detailed
PHP Array_column Function Instance Application
PHP array_chunk () Function Example and application
PHP Array_change_key_case Function Example and application
PHP Cookie Usage Examples
PHP mysql_select_db Instances
PHP Substr_count finds the number of occurrences of a string in another string
How to intercept Chinese strings in PHP
PHP simplexml parsing xml
PHP Regular Expression function usage instance
How PHP converts Word documents to PDFs
The PHP Mail () function uses the party instance
PHP Mail Configuration method
PHP Ajax asynchronously reads RSS document data
PHP File Upload Instance
PHP ajax No Refresh file upload instance
PHP Cookie Application Example
PHP preg_match functions and PHP Preg_match_al functions L instances, methods, examples
PHP Preg_match_all () function Use instance
PHP preg_match Regular Expression function instance
PHP Ajax XMLHttpRequest Instances
PHP Ajax implementation of the file upload progress bar
PHP $_session Member Login Instance
PHP Array function
PHP cannot output a solution with Chinese character xml
PHP string First letter conversion case

The above describes the PHP programming note sharing, including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • Related Article

    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.