Send an email to the specified mailing address to,subject The topic, message is the content of the letter. Additional options additional_headers can be omitted to indicate the header of other mail documents
BOOL Mail (string to,string subject,string message,string [additional--headers]
Resolves the URL string and returns the result to the array. The returned array includes the following elements: scheme, host, port, path, query, and fragment
Array parse_url (string url)
Encodes a string as a URL, such as a space that becomes a plus sign. The form data transfer in the Web page is encoded with UrlEncode and then sent out
String UrlEncode (String str)
String Restore after the URL is encoded
String UrlDecode (String str)
You can open a link to an FTP server. Parameter host is the URL of the FTP server. Parameter port is usually omitted, if the port number (port) of the FTP server is not 21 o'clock, you need to add this parameter. Returns the connection code if no error returns false
int Ftp_connect (string host,int [port])
An FTP server that can log in to a link. Parameters Ftp_stream and password are user accounts and passwords for the FTP server, usually anonymous for public use, and the password is an e-mail address. Returns true if successful
BOOL Ftp_login (int ftp_stream,string username,string password)
Used to get the path currently in the FTP server. Parameter ftp_stream the connection code for FTP. Returns NULL if there is an error
String ftp_pwd (int ftp_stream)
Used to go back to the upper directory, which is the parent directory of the current directory. Parameter Ftp_stream is the FTP connection code. Returns true if successful
Boolean ftp_cdup (int ftp_stream)
Used to go to the next level of directories. Parameter ftp_stream the connection code for FTP. Parameter directory is the directory you want to go to. Returns true successfully, False if failed
BOOL Ftp_chdir (int ftp_stream,string directory)
Returns the file name or array of a given directory
Array ftp_nlist (int ftp_stream,string directory)
Returns a detailed list of a directory by output row array
Array ftp_rawlist (int ftp_stream,string directory)
A system that can display a remote FTP server, which is equal to an FTP server under system or Syst instructions. Success returns a string, such as "215 UNIX Type:l8", and returns false if it fails
String Ftp_systype (int ftp_stream)
Used to download the specified file. The parameter is ftp_stream to the FTP connection code, the parameter local_file is the filename that wants to exist on the local side; The parameter remote_file is the filename to be downloaded; the value of parameter mode has FTP_ASCII and ftp_binary two kinds, representing the text file respectively. Or binary, returns true for success and false for failure
BOOL Ftp_get (int ftp_stream,string local_file,string remote_file,int mode)
The file is downloaded and exists in a local file that is open. File pointers for open files on the local side of the parameter FP
BOOL Ftp_fget (int ftp_stream,int fp,string remote_file,int mode)
Used to upload the specified file. Parameter ftp_stream is the connection code for FTP; parameter remote_file is the filename of the remote end; parameter local_file is the filename to upload; the value of parameter mode is FTP_ASCII and ftp_binary two kinds
BOOL Ftp_put (int ftp_stream,string remote_file,string local_file,int mode)
Sends the CMD command to the FTP host, which is not standardized, but is related to the server's host operating system, which can be used for file access licenses, group member operations
BOOL Ftp_site (Resource ftp_stream,string cmd)
Turn off FTP connections
BOOL Ftp_quit (int ftp_stream)
A host domain name that can be passed back to an IP address. If execution fails, the original IP URL is returned
String gethostbyaddr (String ip_address)
An IP address that can be passed back to a network host. If execution fails, the original computer domain name is returned hostname
String gethostbyname (string hostname)
Returns a list of IP addresses for a given host
Array Gethostbynamel (string hostname)
Check for DNS records for a given Internet host name or IP address, type can be a, MX, NS, SOA, TPR, CNAME, or any, with the default type MX
int CHECKDNSRR (string host [, StringType])
Obtain an MX record corresponding to a given Internet host name
Current 1/2 page
12 Next read the full text