PHP-Home
- PHP-Background
- Features of PHP
- Versions of PHP
- Tools to work with PHP
- Steps to create and execute PHP Programs
- Output Functions in PHP
- Types of errors in PHP
- Data Types available in PHP
- PHP-Array
- Some server configuration settings
- PHP-Include & Require
- Types of variables in PHP
- Concept of GET & POST
- Configuration settings related to Files Upload
- PHP-Cookies
- PHP-Sessions
- Configuration settings to work with Sessions
- PHP-File Handling
- PHP-Directory Functions
- PHP-Mail
- String Functions in PHP
Reference
Some server configuration settings :
Document, root directory :
By using this configuration setting we can change the document root path of Web server. By default the root directory of Web server is htdocs. We can change that location using this configuration setting. This setting are available in server configuration setting file.
listen, servername, localhost :
By using this configuration setting, we can change the port number of Apache Server. By default, server runs with port number - 80.
directory index :
By using this configuration setting, we can specify the startup file names. By default, index, home & default comes under startup files.
isset() :
By using this function, we can check whether the variable is set with any value or not. It returns boolean value true(1) or false(0).
Example :
<?php $x = 100; echo isset($x); ?>
Output :
1