Subversion Repositories computer_asset_manager_v2

Rev

Rev 26 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 rodolico 1
CAKE Conventions, Field Names
2
title or name -- label for record
3
created datetime not null -- updated to creation of record
4
modified or updated datetime not null -- updated to time of last edit
5
id char(36) or id binary(36) -- UUID for recrod
6
 
7
username varchar(xx) -- automatically used by login stuff
8
password or passwd char(32) -- automatically an mcrypt password
9
 
10
 
11
Secure your site by moving configuration file to above document root. Multiple "sites" can be configured also so, in the case of an app called address_book,
12
cp database.php documentroot/../address_book.php
13
and put the following contents into database.php
14
 
15
<?php
16
 
17
   include realpath( $_SERVER['DOCUMENT_ROOT'] . '/../' . 'address_book.php' );
18
 
19
?>
20
 
21
Now, edit address_book.php