All Questions
CodeIgniter v3.1.2 (Current version)
CodeIgniter is installed using following steps:
- Unzip the package.
- Upload the CodeIgniter folders and files to your server. Normally the index.php file will be at your root.
- Open the application/config/config.php file with a text editor and set your base URL. If you intend to use encryption or sessions, set your encryption key.
- If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.
- It is a framework with small footprint.
- it provide exceptional performance.
- it provide broad compatibility with standard hosting accounts that run a variety of PHP versions and configurations.
- It requires nearly zero configuration.
- It does not require you to use the command line.
- It does not require to be forced to learn a templating language.
- It's clear, thorough documentation.
CodeIgniter is an Application Development Framework using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries.
A VLAN is required because at switch level there is only one broadcast domain, it means whenever new user is connected to switch this information is spread throughout the network. VLAN on switch helps to create separate broadcast domain at switch level. It is used for security purpose.
For enable error reporting in PHP need to enable error display (display_errors & error_reporting) in the php.ini. By default these are turned off. If unable to modify php.ini then set in .htaccess file:
The GET method
- It sends encoded user information append to the page request.
- The GET method produces a long string that appears in your server logs, in the browser's Location: box.
- The GET method is restricted to send upto 1024 characters only.
- Never use GET method if you have password or other sensitive information to be sent to the server.
- GET can't be used to send binary data, like images or word documents, to the server.
- The data sent by GET method can be accessed using QUERY_STRING environment variable.
- The PHP provides $_GET associative array to access all the sent information using GET method.
The POST Method
- The POST method transfers information via HTTP headers. The information is encoded as described in case of GET method and put into a header called QUERY_STRING.
- The POST method does not have any restriction on data size to be sent.
- The POST method can be used to send ASCII as well as binary data.
- The data sent by POST method goes through HTTP header so security depends on HTTP protocol. By using Secure HTTP you can make sure that your information is secure.
- The PHP provides $_POST associative array to access all the sent information using POST method.
unset() is a function for variable management. It will make a variable undefined. Or we can say that unset() is used to null out the value of a given variable. OR Unset() is used to destroy a variable in PHP. In can be used to remove a single variable, multiple variables, or an element from an array.
unlink() is a function for file system handling, unlink() is used to delete files. Suppose you have uploaded a file and wants to delete this file through the coding then unlink() function is used to delete the file.
There are 4 protocols that are being managed by this layer. These are ICMP, IGMP, IP and ARP.
Hot Questions
How to Get the Size of all Tables in a database in MySQL?