PHP Developer''''s Dictionary- P118 pot

5 115 0
PHP Developer''''s Dictionary- P118 pot

Đang tải... (xem toàn văn)

Thông tin tài liệu

PHP Developer’s Dictionary IT-SC book 585 Description The magic_quotes_runtime directive indicates that when data or text is returned from an external datasource, all quotes will be escaped with a backslash. If magic_quotes_sybase is also on, an occurrence of a single quote will be escaped with a second single quote instead of a backslash. The default value is Off. magic_quotes_sybase Syntax magic_quotes_sybase boolean Description The magic_quotes_sybase directive is used in conjunction with the magic_quotes_ runtime and magic_quotes_gpc options to indicate that a single quote should be escaped with another single quote instead of a backslash. The default value is Off. max_execution_time Syntax max_execution_time integer Description The max_execution_time directive indicates how much time, in seconds, a single script is allowed to execute before terminating. The default is thirty seconds. memory_limit Syntax memory_limit integer Description The memory_limit directive specifies the maximum amount of memory in bytes, that one executing script can allocate. The default value is 8388608 or 8MB. PHP Developer’s Dictionary IT-SC book 586 nsapi_ext Syntax nsapi_ext string Description nsapi_ext is not yet implemented. short_open_tag Syntax short_open_tag boolean Description The short_open_tag directive indicates whether the short form (<? and ?>) for PHP tags is allowed. XML requires that the long form (<?php and ?>) of the tags be used. The default value is On. sql.safe_mode Syntax sql.safe_mode boolean Description The sql.safe_mode directive indicates that any username and password information given as part of a connection string should be ignored. This is an added layer of secur ity, and prevents someone from trying to guess a username/password combination. track_errors Syntax track_errors boolean PHP Developer’s Dictionary IT-SC book 587 Description The track_errors directive causes the last error message generated to be available in the global variable $php_errormsg. The default value is Off. track_vars Syntax track_vars boolean Description The track_vars directive indicates whether variables from the GET, POST, and COOKIE portions of a request should be accessible through the global associative arrays $HTTP_GET_VARS, $HTTP_POST_VARS, and $HTTP_COOKIE_VARS, respectively. With PHP 4.0.3, track_vars is always on. upload_tmp_dir Syntax upload_tmp_dir string Description The upload_tmp_dir configuration setting indicates the directory into which any files uploaded by a user should be placed. The user PHP is running under must have write permissions to this directory. The system default will be used if none is specified. upload_tmp_dir = /usr/uploads user_dir Syntax user_dir string PHP Developer’s Dictionary IT-SC book 588 Description The user_dir configuration setting indicates the base name used for a user's home directory. For example, a value of "/home" tells PHP to look in /home/~username for a person's PHP files. The default value is none. variable_order Syntax variable_order string Description The variable_order directive sets the order of GET/POST/COOKIE variable parsing. Note that this function replaces the gpc_order directive, which has been deprecated. When PHP reads an incoming request, it automatically analyzes the request and identifies variables and their values, making them available for script access. This set ting specifies the order in which the request is analyzed. The order indicates which option will take precedence when the same variable name appears more than once. The options to the right have a higher precedence than those options to the left. For example, a variable _ order of PC tells PHP to ignore the GET variables and that vari ables from the COOKIE value have precedence over POST values. The default value is GPC. warn_plus_overloading Syntax warn_plus_overloading boolean Description The warn_plus_overloading directive is used to indicate whether a warning message should be generated when the parser encounters string concatenation done with a plus (+) sign instead of the . operator, which is the preferred method for concatenating strings. The default value is Off. Extension Loading PHP allows for the specification of additional libraries whose functions will be available from PHP scripts. enable_dl PHP Developer’s Dictionary IT-SC book 589 Syntax enable_dl boolean Description The enable_dl directive applies only to the Apache module for PHP. It is used to turn on or off dynamic loading of PHP extensions at the virtual server or virtual directory level. Dynamic loading is accomplished by using the dl() function. This directive de faults to True except when running in safe mode where dynamic loading cannot be used. extension_dir Syntax extension_dir string Description The extension_dir directive specifies the directory in which the PHP engine should look for dynamically loadable libraries. Syntax extension string extension The extension directive specifies which dynamically loadable extensions should be loaded by the PHP engine upon startup. Here are some Windows examples: ;Windows Extensions extension=php_mysql.dll extension=php_nsmail.dll extension=php_calendar.dll Browser Compatibility PHP allows for the capabilities of different browsers to be stored in a file typically known as the browscaps.ini. This file enables you to adjust your script's execution and output based on the feature set of the browser making the request. . the PHP engine upon startup. Here are some Windows examples: ;Windows Extensions extension =php_ mysql.dll extension =php_ nsmail.dll extension =php_ calendar.dll Browser Compatibility PHP. value is Off. Extension Loading PHP allows for the specification of additional libraries whose functions will be available from PHP scripts. enable_dl PHP Developer’s Dictionary IT-SC book. user's home directory. For example, a value of "/home" tells PHP to look in /home/~username for a person's PHP files. The default value is none. variable_order Syntax variable_order

Ngày đăng: 07/07/2014, 05:20

Mục lục

  • Cover

  • PHP Developer's Dictionary

  • About the Authors

  • Acknowledgments

    • Tell Us What You Think!

    • Introduction

      • Who Should Buy This Book?

      • Organization of the Chapters

      • Writing Conventions

      • Chapter 1. Basic PHP Background and History

        • Advantages of PHP 4

        • Installation

          • PHP Installation General Overview

          • Configuration Options

          • Types, Variables, and Constants

          • Arrays

          • Strings

          • Type Conversion

          • Variables

          • Constants

          • Operators and Mathematical Functions

            • Expressions and Operators

            • Control Structures

            • Mathematical Functions

            • Functions, Classes, and Objects

              • Functions

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan