Allora ragazzi, ho scarikato il photoalbum da http://www.stoverud.com/PHPhotoalbum/ ho scompattato tutto e caricato l'intera cartella sul mio database..ora cosa devo fare?ho il database da pratikamente 10 sec e non capisco molto di php ki mi aiuta?esporrò il banner all'interno del photoalbum :grin:
http://ankorakredo.altervista.org/PH...-0.5/index.php
questa dovrebbe essere l'index del phoalbum..ma xkè quando vado a creare un nuovo album non me lo fa fare?
da quanto ne ho capito devo modificare la seguente pagina..mi aiutate a capire?
<?
/*************************************************
* PHPhotoalbum v0.5
* by: Henning Støverud
* e-mail: henning@stoverud.com
* URL: http://www.stoverud.com/PHPhotoalbum/
*************************************************/
// Galleryname
$config['galleryname'] = "My Photoalbum";
// ADMIN LOGIN
$config['admin_username'] = "admin"; // Username for adminpages
$config['admin_password'] = "admin"; // Change this password!!!
// DATABASE SETTINGS
$config['dbserver'] = "localhost"; // Your databaseserver
$config['dbuser'] = "mysqlusr"; // Your mysql username
$config['dbpass'] = "mysqlpasswd"; // Your mysql password
$config['dbname'] = "PHPhotoalbum"; // Your mysql databasename
$config['TABLE_PICTURES'] = "album_pictures"; // Tablename for pictures
$config['TABLE_ALBUMS'] = "album_albums"; // Tablename for albums
$config['TABLE_COMMENTS'] = "album_comments"; // Tablename for comments
// DIRECTORY SETTINGS
// If you don't know what values to use, open the file installation.php in your
// webbrowser. It will give you a suggestion on what to write.
$config['webdir'] = "/PHPhotoalbum-0.5/"; // Full web path to dir with the php files
$config['albumdir'] = "/PHPhotoalbum-0.5/albums/"; // Full web path to album dir on webserver
$config['fullpath'] = "/home/ankorakredo/PHPhotoalbum/albums-0.5/"; // Full Unix/Windows path to albumdir
// THUMBNAILS
$config['thumb_method'] = "im"; // Use ImageMagick for thumbnail creation (Best quality)
//$config['thumb_method'] = "gd2"; // GD >= 2.0.1. True color!
//$config['thumb_method'] = "gd2"; // GD 1.x
$config['imagemagick_path'] = "/usr/bin/"; // Directory where the command "whereis convert" is located
$config['picture_quality'] = 80; // Picture quality in %. 100% is best quality.
$config['filetypes'] = array("jpg", "jpeg", "gif", "png", "bmp"); // Allowed filetypes
$config['thumbrows'] = "3"; // Number of rows on thumbnailpage (NOT YET IMPLEMENTED)
$config['thumbcols'] = "4"; // Number of cols on thumbnailpage
$config['thumb_width'] = "90";
$config['picture_width'] = "400";
$config['number_in_toplist'] = "100"; // Number of entries to show on the statistics page
// LAYOUT
$config['color_main'] = "#FFe7c6";
$config['color_nav'] = "#a2cafb";
$config['color_form'] = "#a2cafb";
$config['color_form_heading'] = "#cbcbcb";
$config['color_comment_heading'] = "#fed9c2";
$config['color_comment_body'] = "#fff5e1";
$config['ver'] = "0.5"; // PHPhotoalbum version
?>