|
Flash Gallery - PHP administration
Installing the gallery:
1) before running the installation script you will need to edit the gallery-options.php file. You can edit the file using a plain text editing software such as notepad. At the top of the file you will see:
"hostname" => 'localhost',
"mysql_user" => 'yourusername',
"mysql_pass" => 'yourpassword',
"mysql_database" => 'yourdatabase',
"admin_username" => 'admin',
"admin_password" => 'pass',
"installURL" => 'http://www.REPLACEYOURWEBSITE.com/gallery/',
"images_url" => 'photos/',
"useCookie" => false
|
localhost - this is your MySQL server. Most probably localhost will work but it may also be IP address or valid domain name.
yourusername - this is the username that you use to connect to your mysql database. Replace yourusername with your MySQL login username
yourpassword - this is the password that you use to connect to your mysql database. Replace yourpassword with your MySQL login password
yourdatabase - this is the database name where the MySQL tables will be created. Replace yourdatabase with your MySQL database name
admin - this is the default username to login your admin page
pass - this is the default password to login your admin page
http://www.REPLACEYOURWEBSITE.com/gallery/ - enter the full URL for the folder where Flash Gallery script is installed
photos/ - the folder which will store the uploaded images
false - gallery admin page uses SESSIONs to log you in. However, in case your web server does not support it and you are logged out you need to change this to 'true' so COOKIES will be used instead
In case you do not know some of the above data, please contact your hosting provider. Please, note that MySQL username which you will use for the web gallery should have INSERT, SELECT, UPDATE, DELETE, CREATE TABLE permissions.
3) upload the files in a folder on your web server and set full write permissions to "photos" folder
4) open http://www.REPLACEYOURWEBSITE.com/gallery/gallery-install.php, where REPLACEYOURWEBSITE.com is the domain name where you uploaded the files. You will be asked to confirm the login details for your MySQL server. On the next step you will have database tables for your gallery created.
5) delete the gallery-install.php file
6) all you have to do now is to login at http://www.REPLACEYOURWEBSITE.com/gallery/gallery-admin.php and manage your galleries via the administration page |