Develdoc:Variables

From PMWH2 - PHPMyWebHosting's official wiki
Jump to: navigation, search
up

File call method

The central variables in PHPMyWebHosting are $act and $what. With these two vars it is decided what file and as result which function to call.

$act 
decides, which directory is choosed under includes
$what 
decides, which file is called in directory includes/$act/

Use describtive names for the files. The files contain your code you want to execute.

Customer information

$customer_info 
holds all information about the customer just logged in from table customers.