How to install phpATM
- Create a folder for the PHP script on the server (or webspace).
- Adjust the values of the variables in the file include/conf.php (see the comments in the include/conf.php for more informations).
- Customize the file(s) languages/nn.php (where nn – is language code).
- If your server/webspace require a particular extension to recognize php scripts (eg ‘.php4′) you have to set the
$phpExtin include/conf.php and change the extension of all (.php) files EXCLUDING include/conf.php.
- Copy all files and subfolders to the server (or upload them to your webspace).
- Chmod 777 all files and directories copied/uploaded (this is very important). Via your FTP client (using the Change Permissions, chmod or other Permissions dialoge box, see your FTP clients documentation for help). Most FTP clients list permissions in the form of User (Read, Write, Execute), Group (Read, Write, Execute) and Other (Read, Write, Execute). You need to tick all of these boxes to set correct permissions.
- Register your own new administrator account.
- Activate your new account (needed, if
request activationis “on”)
- Log in as user “Admin“, password “test“.
- Go to the
User Managementand change the status of your newly created account to
- Log out
- Log in using your newly created account, go to the
User Managementand delete the “Admin” account. DO NOT FORGET TO DO THIS!!! This can be a serious security hole!
- Go to the
Configurationto customize the header, footer and info html-files.
- Make sure, that user accounts are not visible, when you type in the browser the address www.myserver.com/upload/users/username (where www.myserver.com – is the server name where you installed your script and username – the name of any registered user) If visible, you have to change the configuration of the server!
Lets say we want to install phpATM for the website terrorline.de in a folder called atm.
- We download a phpATM version.
- We extract the downloaded package (e.g. phpATM_132.zip) in an empty folder.
- We open the include/conf.php with a texteditor (Notepad++ would be a good choice) and changing some values.
$homeurl = "index.php";
$domain_name = 'www.terrorline.de';
$script_folder_path = 'atm';
$users_folder_name = 'johns';
$userstat_folder_name = 'johnsstat';
- We open now the languages/en.php with a texteditor and changing some values.
- We upload now all files (except the docs folder) to the webspace from terrorline.de. To do this, we use a FTP Client (FileZilla would be a really good choice).
- We Chmod the uploaded files to 777. To do this, we mark all files and folders and right-click on one of them, in the context-menu we choose
File Attributesand change in the new window the
Numeric valueto 777.
- We start now our web browser (Mozilla Firefox would be a good choice) and open http://www.terrorline.de/atm/, on the site (which hopefully appears) we click on
Loginand then on
Register. We create now an account John_Doe.
- After the registration (and activation), we log in as Admin with the password test.
- We click now on the symbol for the
User Management(should be the 4th from the left) and change the status of John_Doe to
Administratorand log out.
- Now we log in as John_Doe and click on the symbol for the
User Managementand delete the user Admin. (we mark
Delete accountand click
- Then we click on the symbol for the
Configuration(should be the 3rd from the left) and change there the footer.htm, header.htm and info.htm to fit our needs.
- We could now upload some (test) files…
Note: this is just an example! The website terrorline.de does not have a folder called atm nor make use of an Advanced Transfer Manager.