tailieunhanh - PHP Developer's Dictionary- P41

PHP Developer's Dictionary- P41:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary Description The ftp_rmdir function deletes directory in the current working directory of ftp_stream which is the name handle of a previously opened stream using ftp_connect . If successful 1 is returned. If the function is unsuccessful 0 is returned. ftp_site Syntax int ftp_site int ftp stream string command Description The ftp_site function which was added in PHP sends command to the machine connected to through ftp_stream . Because the function actually passed a SITE FTP command the commands that can be executed vary depending on the server. ftp_size Syntax int ftp_size int ftp stream string remote file Description The ftp_size function returns the size of remote_fiie connected to by ftp_stream . If an error occurs -1 is returned. Note Not all FTP servers support this feature. ftp_systype Syntax IT-SC book 200 PHP Developer s Dictionary int ftp_systype int ftp stream Description The ftp_systype function when successful returns the system type identifier of the remote machine that is connected to through ftp_stream . If the function fails 0 is returned. The following line will write this information based on the connection defined by my_conn echo ftp_systype my_conn HTTP The Hypertext Transfer Protocol HTTP is another standard Internet protocol. It is generally used to transfer the Hypertext Markup Language HTML pages and related elements such as images that make up today s Web pages. You can find more information on HTTP at http Protocols and more information on HTML at http MarkUp. Note This library of functions was added in PHP 3. header Syntax int header string header directive Description The header function enables you to specify a single header directive in header_directive when fulfilling HTTP requests. If you want to specify several directives you have to use this function multiple times. When specifying header information you must send it before sending the HTTP body of the request. For instance you