PHP Math Function Series Summary

Source: Internet
Author: User
Tags ftp connection http cookie remote ftp server

Through

The asinh () function returns the inverse hyperbolic sine of a number.

The asin () function returns the arc sine of different values and returns the radians between-PI/2 and PI/2.

The acossh () function returns the inverse hyperbolic cosine of a number.

The acos () function returns the arc cosine of a number.

The abs () function returns the absolute value of a number.

The mail () function allows you to send emails directly from scripts.

The libxml_use_internal_errors () function disables standard libxml errors and enables user error handling.

The libxml_get_last_error () function gets the last error from the libxml Error Buffer.

The libxml_get_errors () function gets errors from the libxml Error Buffer.

The libxml_clear_errors () function clears the libxml Error Buffer.

The setrawcookie () function does not perform URL encoding on the cookie value and sends an HTTP cookie.

The setcookie () function sends an HTTP cookie to the client.

The headers_sent () function checks whether the HTTP header is sent/where it has been sent.

The headers_list () function returns a list of sent (or to be sent) response headers.

The header () function sends the original HTTP header to the client.

The ftp_0000ype () function returns the system type identifier of the remote FTP server.

The ftp_ssl_connect () function opens a secure connection to the SSL-FTP.

The ftp_size () function returns the size of the specified file.

The ftp_site () function sends the SITE command to the server.

The ftp_set_option () function sets various FTP runtime options.

The ftp_rmdir () function deletes a directory.

The ftp_rename () function changes the file or directory name on the FTP server.

The ftp_rawlist () function returns the detailed list of objects in the specified directory.

The ftp_raw () function sends a raw command to the FTP server.

The ftp_quit () function closes the FTP connection.

The ftp_pwd () function returns the name of the current directory.

The ftp_put () function uploads files to the server.

The ftp_pasv () function enables or disables the passive mode.

The ftp_nlist () function returns the list of objects in the specified directory.

The ftp_nb_put () function uploads files to the server (non-blocking ).

The ftp_nb_get () function retrieves files from the FTP server and writes them to a local file (non-blocking ).

The ftp_nb_fput () function uploads an opened file and saves it as a non-blocking file on the FTP server ).

The ftp_nb_fget () function downloads a file from the FTP server and saves it to a locally opened file (non-blocking ).

The ftp_nb_continue () function continuously obtains/sends files.

The ftp_mkdir () function creates a new directory on the FTP server.

The ftp_mdtm () function returns the last modification time of the specified object.

The ftp_login () function is used to log on to the FTP server.

The ftp_get () function downloads an object from the FTP server.

The ftp_get_option () function returns various options for the current FTP connection.

The ftp_fput () function uploads an opened file to the FTP server.

The ftp_fget () function downloads a file from the FTP server and saves it to a local open file.

The ftp_exec () function requests to execute a program or command on the FTP server.

The ftp_delete () function deletes a file on the FTP server.

The ftp_connect () function creates a new FTP connection.

The ftp_close () function closes the FTP connection.

The ftp_chmod () function sets the permissions for the specified file on the FTP server.

The ftp_chdir () function changes the current directory on the FTP server.

The ftp_cdup () function changes the current directory to the parent directory on the FTP server.

The ftp_alloc () function allocates space for the files to be uploaded to the FTP server.

The filter_var () function filters variables using the specified filter.

The filter_var_array () function obtains and filters multiple variables.

The filter_list () function returns an array containing all the supported filters.

The filter_input_array () function obtains multiple inputs from outside the script and filters them out.

The filter_input () function obtains and filters the input from outside the script.

The filter_id () function returns the ID of the specified filter.

The filter_has_var () function checks whether a variable of the specified input type exists.

The unlink () function deletes a file.

The umask () function changes the current umask.

The touch () function sets the access and modification time of the specified file.

The tmpfile () function creates a temporary file with a unique file name in read/write (w +) mode.

The tempnam () function creates a temporary file with a unique file name.

The symlink () function creates a symbolic connection.

The stat () function returns information about the object.

The set_file_buffer () function sets the buffer size of the opened file.

The rmdir () function deletes an empty directory.

The rewind () function reverts the position of the file pointer back to the beginning of the file.

Rename () function rename a file or directory.

The realpath () function returns the absolute path.

The readlink () function returns the target to which the symbolic connection points.

The readfile () function outputs a file.

Popen () function to open the process file pointer.

The pclose () function closes the pipeline opened by popen.

The pathinfo () function returns the file path information in an array.

The parse_ini_file () function parses a configuration file and returns the settings in the array format.

The move_uploaded_file () function moves the uploaded file to the new location.

Create a directory using the mkdir () function.

The lstat () function returns information about file or symbolic connections.

The linkinfo () function returns the connection information.

The link () function establishes a hard connection.

The is_writeable () function checks whether the specified file is writable.

The is_writable () function checks whether the specified file is writable.

The is_uploaded_file () function checks whether the specified file is uploaded through http post.

The is_readable () function checks whether the specified file name is readable.

The is_link () function checks whether the specified file name is a symbolic connection.

The is_file () function checks whether the specified file name is a normal file.

The is_executable () function checks whether the specified file is executable.

The is_dir () function checks whether the specified file is a directory.

The glob () function returns a file name or directory that matches the specified mode.

The fwrite () function writes data to a file (which can be safely used for binary files ).

The ftruncate () function truncates the object to the specified length.

The current position of the ftell () function in the open file.

The fstat () function returns information about opening a file.

The fseek () function locates in the opened file.

The fscanf () function parses input from open files according to the specified format.

Fread () function reads files (which can be safely used for binary files ).

The fputs () function writes data to a file (which can be safely used for binary files ).

The fputcsv () function Format rows as CSV and write them into an open file.

The fpassthru () function outputs all the remaining data at the file pointer.

The fopen () function opens a file or URL.

The fnmatch () function matches the file name or string according to the specified mode.

The flock () function locks or releases files.

The filetype () function returns the type of the specified file or directory.

The filesize () function returns the size of the specified file.

The fileperms () function returns the permission of a file or directory.

The fileowner () function returns the object owner.

The filemtime () function returns the last modification time of the file content.

The inode Number of the file returned by the fileinode () function.

The filegroup () function returns the group ID of the specified file.

The filectime () function returns the last inode modification time of the specified file.

The fileatime () function returns the last access time of the specified object.

The file_put_contents () function writes a string to a file.

The file_get_contents () function reads the entire file into a string.

The file_exists () function checks whether a file or directory exists.

The file () function reads the entire file into an array.

The fgetss () function reads a row from an opened file and filters out HTML and PHP tags.

The fgets () function reads a row from the object pointer.

The fgetcsv () function reads a row from the file pointer and parses the CSV field.

The fgetc () function reads a character from the file pointer.

The fflush () function outputs buffered content to a file.

The feof () function checks whether it has reached the end of the file (eof ).

The fclose () function closes an open file.

The diskfreespace () function returns the available space in the directory. This function is the alias of the disk_free_space () function.

The disk_total_space () function returns the total disk size of the specified directory.

The disk_free_space () function returns the available space in the directory.

The dirname () function returns the directory part of the path.

The clearstatcache () function Copies files.

The clearstatcache () function clears the File status cache.

The chown () function changes the owner of a specified object.

The chmod () function changes the file mode.

The chgrp () function changes the group to which the file belongs.

The basename () function returns the file name in the path.

Set_exception_handler () handler () function


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.