Theres not a need for one, its going to use information from your conquer database. My guess is you will need to change the mysql statements to fit ur database though.
$currentSource = 'someSource5095';
$sourceVars = array();
$sourceVars['someSource5095'] = array
(
'database_host' => 'localhost',
'database_name' => 'my5095server',
'database_user' => 'myUserName',
'database_pass' => 'myDbPassword',
'account_table' => array
(
'tableName' => 'accounts',
'account_field' => 'AccountID',
'password_field' => 'Password',
// ...etc
),
'character_table' => array
(
'tableName' => 'characters',
'name_field' => 'Name',
'level_field' => 'Level',
'class_field' => 'Class',
// ...etc
),
'friends_table' => array
(
'tableName' => 'friends',
// ...etc
),
'enemies_table' => array
(
'tableName' => 'enemies',
// ...etc
),
// ...etc
);
mysql_connect($sourceVars[$currentSource]['database_host'], $sourceVars[$currentSource]['database_user'], $sourceVars[$currentSource]['database_pass']);
echo("This is a test\n");
You can change a variable name or even the contents of a string to something more distinguishable, but that won't make it easier for them to understand. You still have to write some kind of small guide to tell them the meaning of the string, the value, and the variable itself. And the problem after that? You're betting on the fact that they might want to learn, which most of them do not. They take code, copy paste it, and wonder why it doesn't work. Not everything can be copy/pasted. Obtaining a source is just getting a source. Attaining a source, is getting something you truly worked for.Quote:
They wont know how to use it.
this way they might know
<?php
echo "Hello World";
?>