11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

www.it-ebooks.infoCHAPTER 2 • CONFIGURING YOUR ENVIRONMENTenable_dl = On | OffScope: <strong>PHP</strong>_INI_SYSTEM; Default value: OffThe enable_dl() function allows a user to load a <strong>PHP</strong> extension at run time—that is, during ascript’s execution.Fopen WrappersThis section contains five directives pertinent to the access and manipulation of remote files.allow_url_fopen = On | OffScope: <strong>PHP</strong>_INI_ALL; Default value: OnEnabling allow_url_fopen allows <strong>PHP</strong> to treat remote files almost as if they were local. Whenenabled, a <strong>PHP</strong> script can access and modify files residing on remote servers, if the files have the correctpermissions.from = stringScope: <strong>PHP</strong>_INI_ALL; Default value: NULLThe title of the from directive is perhaps misleading in that it actually determines the password,rather than the identity, of the anonymous user used to perform FTP connections. Therefore, if from isset like thisfrom = "jason@example.com"the username anonymous and password jason@example.com will be passed to the server whenauthentication is requested.user_agent = stringScope: <strong>PHP</strong>_INI_ALL; Default value: NULL<strong>PHP</strong> always sends a content header along with its processed output, including a user agentattribute. This directive determines the value of that attribute.default_socket_timeout = integerScope: <strong>PHP</strong>_INI_ALL; Default value: 60This directive determines the time-out value of a socket-based stream, in seconds.auto_detect_line_endings = On | OffScope: <strong>PHP</strong>_INI_ALL; Default value: OffOne never-ending source of developer frustration is derived from the end-of-line (EOL) characterbecause of the varying syntax employed by different operating systems. Enablingauto_detect_line_endings determines whether the data read by fgets() and file() uses Macintosh,MS-DOS, or Linux file conventions.35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!