Saturday, February 5, 2011

How to Include a File in PHP

Server Side Includes (SSI) You can insert the content of one PHP file into another PHP file before the server executes it, with the include() or require() function. The two functions are identical in every way, except how they handle errors: * include() generates a warning, but the script will continue execution * require() generates a fatal error,...