Three methods for php to obtain POST data
php image watermark source code
A simplest example of php+ajax+json
php Chinese character to pinyin source code
php traverses the directory, generates the md5 value of each file in the directory and writes it to the result file
php implements the linux command tail -f
php json_encode and json_decode usage examples
php curl simulates login and obtains data
php fprintf writes the formatted string to the stream
php explode splits the string into an array
php crc32 calculates the 32-bit CRC (cyclic redundancy check) of the string
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 the uuencode-encoded string
Instructions for using php ternary operator
php ternary operator example explanation
php const and define difference
php Call to undefined function curl_init() in E:/w
php display_errors Turn on debugging function
php static const define variable difference detailed explanation
php uses fopen and file_get_contents to read file examples
php Convert excel numerical format to date format
php convert_cyr_string Convert a string from one Cyrillic character set to another
php chunk_split string splitting function
php chr Get the ASCII value Corresponding characters
php chop Remove spaces or other predefined characters at the right end of the string
php bin2hex Convert ASCII characters to hexadecimal values
php addslashes Add backslash before predefined characters
php addcslashes Use backslash to convert Characters in the meaning string
php function explanation and analysis
php process control if, switch, while, for, break and other examples detailed explanation
php operators and expressions detailed explanation
php foreach array traversal example detailed explanation
php array merge array_merge and Detailed explanation of array_merge_recursive
Analysis of the difference between single quotes and double quotes in php to define strings
php get_class get_class_methods to get the current class name and function name
Introduction to php magic constant examples
Detailed explanation of php switch usage examples
PHP clears the spaces at both ends of all strings in the array Code
php Detailed explanation of the difference between value assignment and reference assignment
Detailed explanation of variable reference and variable destruction mechanism in php
php The difference between die() and exit()
php One line of code to get the file suffix name
php Special usage of this
Reference in php Detailed explanation of the use of the symbol (&)
php isset() is_null() empty() Difference and usage
Collection of commonly used functions in php
PHP and jquery to display the number of people online on the website in real time
php Several methods to determine whether an array is empty
php Implemented file upload
PHP Detailed explanation of namespace examples
PHP implements an efficient database
php implements Hash table function
php analyzes the reasons why Session is invalid
php Several ways to replace mobile phone numbers with asterisks*
php Delete duplicates in arrays Value and sort
php COOKIE does not refresh and takes effect in time
PHP file_put_contents is written to the file
PHP determines the city and other information based on the IP address
php User registration example implemented in conjunction with mysql
php usort() uses the user-defined comparison function to perform array processing Sort
php uksort Sort the keys in the array
php uasort Sort the values in the array
Detailed explanation of PHP anonymous functions and precautions
Several examples of PHP5.6 CONST new features
php How to disable the eval() function
php Usage of the new self() keyword
The difference between static variables and ordinary variables in php
php shares two methods of getting file suffix names
php uniqid mt_rand generates random non-repeating strings
php how to get the last day of the last month
Several ways to delete sessions in php
How to use and introduce the PHP Closure class
PHP date_parse function example explanation
php date_parse converts time into seconds
php sort function sorts the array in ascending order
php shuffle randomly sorts the array
php rsort pair The array is sorted
php reset() function points the internal pointer to the first element in the array and outputs
php range function creates an array containing the specified range unit
php prev function gets the value of the previous element of the array
php next The function outputs the value of the next element in the array
php natsort sorts the array
php natcasesort sorts the array in a case-insensitive manner
php list() assigns a value to a set of variables with the elements in the array
php ksort according to the key name Sort the array in ascending order
php krsort Sort the array in descending order by key name
php key function gets the key name of the current element in the array
php in_array() Check whether a certain value exists in the array
php array processing function extract (extract the array The key name is used as the variable name, and the array key value is used as the 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 current value in the array The value of the cell
php count gets the number of elements in the array
php compact creates an array through variables (use the variable name as the array index and the variable value as the array value)
php asort sorts the values of the array in ascending alphabetical or numerical order and maintains the index relationship
php arsort sorts the values of an array in descending alphabetical or numerical order
php array_walk applies a user-defined function to each element in the array
php array_walk_recursive uses a custom function to process each element in the array
php array_values returns all the values of the array
php array_unshift inserts a new value to the beginning of the array
php array_unique deletes duplicate values in an array
php array_uintersect calculates the intersection of arrays
php array_uintersect_uassoc calculates the intersection of arrays
php array_uintersect_assoc calculates the intersection of arrays
php array_udiff compares the key values of two arrays and returns the difference
php array_udiff_uassoc calculates with index check Difference of arrays
php array_udiff_assoc Calculates the difference of two arrays
Detailed explanation of how to use the wp_title() function in WordPress
php strstr() Gets all characters after the specified string
PHP substr_count() Gets the number of occurrences of a substring
PHP The difference between strcmp() and strcasecmp()
CI (Codeigniter) Setting enhanced configuration class instance
php How to use WeChat public platform development mode to implement multi-customer service
yii implements the method of adding default values to the model (2 methods)
Yii cleans the cache Method
Joomla database operation example code
php getimagesize length and width detection code of uploaded images
Simple PHP upload image, delete image implementation code
php ajax upload image without refresh example code
php upload image to generate thumbnail (GD library)
The difference between the usage of sprintf and printf functions in php
php array_sum calculates the sum of all values in the array
php array_splice deletes part of the array and replaces it with other values
php outputs json and displays Chinese characters in json
php between time time and date Use the difference
php to calculate the number of days, hours, minutes and seconds between two times
Thinkphp session writes to the database
php uses the SMTP protocol to send emails
php array_slice takes out a sequence in the array
php array_shift deletes the sequence in the array The first element
php array_search Finds the specified value in the array
php array_reverse Returns the array in reverse order
php array_replace function replaces the first element of the array with the passed array
php utf-8 and gb2312 automatic conversion
php Share A function that recursively traverses files
php Several methods to prevent repeated submission of forms
php ffmpeg intercepts specified frames of videos into pictures
PHP HTTP authentication
php mysql user registration source code
php A complete cookie login source code
php mysql user login source Code
php array_replace_recursive recursively replaces the value of the first array with the value of the subsequent array
php array_reduce() uses a callback function to iteratively reduce the array to a single value.
php array_rand randomly takes out one or more values from the array
php array_push() adds one or more elements to the end of the array
php array_product calculates the product of all values in the array
php array_pop deletes the last element of the array
$_SERVER server environment Detailed information
php urldecode decodes the encoded URL string
php urlencode encodes the string into URL
php shares a string encryption and decryption function
php converts UTF-8 and GB2312 URL encoding
php utf-8 and GB2312 Convert between encodings
php Determine whether the string encoding is utf-8 or gb2312
php array_pad Fill the array to the specified length
php Intercept the string in UTF-8 format
php The set_include_path function sets the include_path configuration option
php The DIRECTORY_SEPARATOR constant and PATH_SEPARATOR constant explanation
php Use PATH_SEPARATOR to determine the current server system type
php array_multisort Sort arrays
php array_merge Array merge
php array_merge_recursive Merge two or more arrays into one array
php Share an operation (add, delete, modify, check) mysql database The class
php array_map uses a custom function to process each value in the array
php array_keys returns the key name of the array
php checkbox implementation is selected by default.
php Get the value of the checkbox checkbox
php If you submit a form on this page, how to remember the value of the radio radio button
php How to get the value of the radio radio button
php The difference between array_key_exists() and isset()
php array_key_exists checks whether a key name or index exists in the array
php array_intersect calculates the intersection of arrays
php uses iframe to upload files without refresh
php uses html5 FormData to implement refresh-free file upload
php uses html5 to implement multiple file uploads
php multiple files Implementation of upload
php Modify upload file size limit
php file upload example
php is_uploaded_file() Determine whether the specified file is uploaded through HTTP POST
php Three methods of value transfer between pages
php Use input hidden value transfer example
php array_intersect_ukey uses a callback function to compare key names to calculate the intersection of arrays
php array_intersect_uassoc uses a user-defined function to calculate the intersection of two arrays
php array_intersect_key uses key names to calculate the intersection of arrays
php array_intersect_assoc compares the key names and keys of two arrays value, and returns the intersection
php array_flip reverses the keys and values in the exchange array
php array_filter function example explanation
Three methods of PHP simulating post submission
php uses curl to simulate post submission
php simulates form post submission through fsockopen
php form $_POST[] example application
php how to get the value of the select multiple box multiple
php how to get the selected value in the select drop-down list
php set an option of select to be selected
How PHP custom function returns multiple values
php array_fill fills the array with the given value
php array_fill_keys() fills the array with the specified keys and values
php extract uses the name of the form element as the variable name and the value of the element as the variable value Process the
php form and submit it to this page
php How to determine which values of the checkbox multi-select box are selected
php Determine whether the checkbox is selected
php The checkbox multi-select box and pass the value
php mail Send email (with CC and private CC bcc)
php array_diff function usage
php array_diff_ukey() function explanation
php array_diff_uassoc() function example
php form form example application
php simple file upload example
php array_diff_key() function example introduction
PHP array_diff_assoc() Detailed explanation of function examples
php array_count_values() Detailed explanation of function examples
php array_combine Detailed explanation of function examples
php array_column Function example application
php array_chunk() Function example and application
php array_change_key_case function example and application
php cookie usage example
php mysql_select_db example
php substr_count Finds the number of times a string appears in another string
How to intercept Chinese strings in PHP
PHP simplexml parses xml
PHP regular expression function usage examples
How PHP converts word documents into pdf
PHP mail() function usage Example
php mail email configuration method
php ajax asynchronously reads rss document data
php file upload example
php ajax no refresh file upload example
php cookie application example
php preg_match function and php preg_match_al function l examples, methods, examples
php Preg_match_all() function usage example
php preg_match regular expression function example
php ajax XMLHttpRequest example
php ajax implemented file upload progress bar
php $_SESSION member login example
php array function
php solution that cannot output xml with Chinese characters
Convert the first letter of php string to upper and lower case
The above has introduced the sharing of PHP programming notes, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.