1.0 If I want make (based on gesior) scripts where should I put them?
system/pages/ ?
and config in system/config/, logs in system/logs/ ?
1.1 Where should I put .js scripts for my scripts?
1.2 Is there any special folder for .css files or I should put them in same dir with .php (or paste in .php file)?
You should stick thread with 'schema' where programers should put files before there will be 100 scripts and each with files in different directories.
You could also propose official file names format.
2. If I put there page what will be address to it? http://x.x.x.x/index.php/WHAT_THERE/my_php_file_name?
3.1 Do Modern AAC make any connection to DB when load 'self'?
3.1.1 Should I use POT to load data from DB or there is a way to use modern aac connection (if is)?
3.1.2 (if needed) What is the best method to connect to database by POT? In scripts on forum/in AAC are different methods.
Character view injection (hmm.. player loaded by POT (?) to $player):
Forum (is it make new connection to DB?):
3.2 How can I check 'is user logged' (and his account data)?
3.3 How can I load data from database (about account, player)?
I really need answers for these questions. It could be much easier to start with modern ^_^
If you answer for all my questions you could stick this thread.
system/pages/ ?
and config in system/config/, logs in system/logs/ ?
1.1 Where should I put .js scripts for my scripts?
1.2 Is there any special folder for .css files or I should put them in same dir with .php (or paste in .php file)?
You should stick thread with 'schema' where programers should put files before there will be 100 scripts and each with files in different directories.
You could also propose official file names format.
2. If I put there page what will be address to it? http://x.x.x.x/index.php/WHAT_THERE/my_php_file_name?
3.1 Do Modern AAC make any connection to DB when load 'self'?
3.1.1 Should I use POT to load data from DB or there is a way to use modern aac connection (if is)?
3.1.2 (if needed) What is the best method to connect to database by POT? In scripts on forum/in AAC are different methods.
Character view injection (hmm.. player loaded by POT (?) to $player):
PHP:
$player = $GLOBALS['player'];
$config = $GLOBALS['config'];
$SQL = POT::getInstance()->getDBHandle();
PHP:
//** Connection to the database **//
$ots = POT::getInstance();
$ots->connect(POT::DB_MYSQL, connection());
$SQL = POT::getInstance()->getDBHandle();
3.3 How can I load data from database (about account, player)?
I really need answers for these questions. It could be much easier to start with modern ^_^
If you answer for all my questions you could stick this thread.