Pozwolę sobie odświeżyć, również szukałem takiego skryptu i udało mi się znaleźć.
http://webscripts.softpedia.com/dyn-postdo...amp;t=0&i=1Aplikacja ma wbudowany instalator.
Niestety podczas instalacji czy to na WebServ 2.0 czy Krasnalu 2.7, a nawet na serwerach yoyo czy ugu wywala mi taki błąd po wpisaniu danych w instalatorze:
Cytat
# CREATE TABLE photobattle_rating ( id int unsigned NOT NULL, side tinyint unsigned NOT NULL, KEY (id,side), image_name tinytext NOT NULL, count int unsigned NOT NULL, post_date datetime NOT NULL )
# CREATE TABLE photobattle_comments ( id int unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (id), bt_id int unsigned NOT NULL, KEY (bt_id), name tinytext NOT NULL, comment text NOT NULL, xdate datetime NOT NULL )
# CREATE TABLE photobattle_users ( id int unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (id), username char(20) NOT NULL, UNIQUE KEY (username), password char(20) NOT NULL, ip_login int unsigned NOT NULL, time_login datetime NOT NULL, session char(16) NOT NULL, KEY (session) )
# INSERT INTO photobattle_users (username,password) VALUES ('admin','password')
Log in to administration area
I nie mam bladego pojęcia co może być nie tak.