January 2000
Beginner to intermediate
128 pages
1h 48m
English
int checkdnsrr(string host [, string type])Check DNS records corresponding to a given Internet hostname or IP address
int fsockopen(string hostname, int port [, int errno [, string errstr [, int timeout]]])Open Internet or Unix domain socket connection
string gethostbyaddr(string ip_address)Get the Internet hostname corresponding to a given IP address
string gethostbyname(string hostname)Get the IP address corresponding to a given Internet hostname
array gethostbynamel(string hostname)Return a list of IP addresses that a given hostname resolves to
int getmxrr(string hostname, array mxhosts [, array weight])Get MX records corresponding to a given Internet hostname
int pfsockopen(string hostname, int port [, int errno [, string errstr [, int timeout]]]) Open persistent Internet or Unix domain socket connection
int set_socket_blocking(int socket descriptor, int mode)Set blocking/non-blocking mode on a socket
int ftp_cdup(int stream) Change to the parent directory
int ftp_chdir(int stream, string directory) Change directories
int ftp_connect(string host [, int port]) Open an FTP stream
int ftp_delete(int stream, string path) Delete a file
int ftp_fget(int stream, int fp, string remote_file, int mode) Retrieve a file from the FTP server and write it to an open file
int ftp_fput(int stream, string local_file, string remote_file, int mode) Store a file from an open file to the FTP server
int ftp_get(int stream, string local_file, string ...Read now
Unlock full access