TAILIEUCHUNG - PHP Developer's Dictionary- P22

PHP Developer's Dictionary- P22: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 string SERVER_PROTOCOL Description The server_protocol variable contains the name and version of the protocol used in the request. For example http is a valid value for server_protocol. SERVER_SIGNATURE Syntax string SERVER_SIGNATURE Description The server_signature variable contains the server host name and version number. SERVER_SOFTWARE Syntax string SERVER_SOFTWARE Description The server_software variable contains the server string which is similar to a useragent or browser string. PHP The last section of this chapter contains PHP variables that are constant within the PHP installation. Additionally there are a couple of variables that are present when PHP scripts are run on the command line. argv Syntax array argv IT-SC book 105 PHP Developer s Dictionary Description The argv array contains a list of options passed to the PHP script if it was executed on the command line. argc Syntax int argc Description The argc variable contains the number of options that were passed to the PHP script if it was executed on the command line. PHP_SELF Syntax string PHP_SELF Description The PHP_SELF variable contains the filename of the script currently being processed relative to the document root. Please note that this variable is not available if you are running the PHP interpreter on the command line. HTTP_COOKIE_VARS Syntax array HTTP_COOKIE_VARS Description http_cookie_vars contains an associative array of keys and values passed to the PHP script via cookies which are available in the HTTP header. This is available only if the tracking variables have been turned on within the PHP environment. This can be accomplished in either of the following ways IT-SC book 106 PHP Developer s Dictionary php_track_vars no longer supported in PHP 4 track_vars configuration file directive HTTP_GET_VARS Syntax array HTTP_GET_VARS Description http_get_vars contains an associative array of keys and values passed to the PHP script via the HTTP get method of form

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.