-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path005-index.php
More file actions
29 lines (28 loc) · 809 Bytes
/
005-index.php
File metadata and controls
29 lines (28 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* SCRIPT MODULARITY
* =================
*
* An application should become so complex that it is not good
* to be coded into a single source file.
*
* Here it comes the "include()" function which allow to import
* a script into another.
*
* ---
* this script is the modularised version of "004-validation.php" script.
* it does exactly the same things with a more organised code base.
* ---
*
* NOTE: a file which contains ONLY php doesn't need to close the
* PHP tag at the end.
*
* NOTE: be careful to do not place white spaces before the PHP
* opening tags because they are sent to the client as
* output data!
* (this is often causes bad headaches to PHP coders!)
*
*/
include('005-config.php');
include('005-logic.php');
include('005-page.php');