Develdoc:Variables

From PMWH2 - PHPMyWebHosting's official wiki
Revision as of 10:08, 11 November 2008 by Admin (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.