diff --git a/README.txt b/README.txt index 946901e..38272d5 100644 --- a/README.txt +++ b/README.txt @@ -29,6 +29,7 @@ FEATURES: -upload image -can run any command from convert (maybe not enough restricted...?) -for each user: 1 folder for original and 1 folder for processed images +-if file already on server it's fine TODO: -preview not saved @@ -39,3 +40,17 @@ TODO: -email image -login page refresh -upload/process update DB +-2 images with same name..? + +user modifies password +admin modifies pass +admin can do more stuffs -> send emails to user, + +limit size max of image directory +some refresh issues, field are getting empty, etc. + +chmod 777 some files +images still visible after refresh + +command modified +check command input diff --git a/admin/imagebankimagebank.sql b/admin/imagebankimagebank.sql deleted file mode 100644 index d6cf1a9..0000000 --- a/admin/imagebankimagebank.sql +++ /dev/null @@ -1,59 +0,0 @@ --- phpMyAdmin SQL Dump --- version 3.3.9.2 --- http://www.phpmyadmin.net --- --- Host: localhost --- Generation Time: Nov 30, 2011 at 02:04 PM --- Server version: 5.5.9 --- PHP Version: 5.3.6 - -SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; - - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8 */; - --- --- Database: `imagebank` --- - --- -------------------------------------------------------- - --- --- Table structure for table `images` --- - -CREATE TABLE `images` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `name` varchar(32) DEFAULT NULL, - `date` varchar(32) DEFAULT NULL, - `type` varchar(32) DEFAULT NULL, - `filter` varchar(32) DEFAULT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `images` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `users` --- - -CREATE TABLE `users` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `name` varchar(32) DEFAULT NULL, - `email` varchar(32) DEFAULT NULL, - `password` varchar(32) DEFAULT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `users` --- - diff --git a/admin/index.php b/admin/index.php index b6a0c8c..25cde30 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,6 +1,3 @@
- \ No newline at end of file diff --git a/ajax/currentimageupdate.php b/ajax/currentimageupdate.php deleted file mode 100644 index 7abee75..0000000 --- a/ajax/currentimageupdate.php +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/ajax/testcommand.php b/ajax/executecommand.php similarity index 100% rename from ajax/testcommand.php rename to ajax/executecommand.php diff --git a/ajax/currentimage.php b/ajax/loadimage.php similarity index 100% rename from ajax/currentimage.php rename to ajax/loadimage.php diff --git a/ajax/updateimages.php b/ajax/updateimages.php new file mode 100644 index 0000000..05a523d --- /dev/null +++ b/ajax/updateimages.php @@ -0,0 +1,4 @@ + diff --git a/index.php b/index.php index ffebc63..6eb561e 100644 --- a/index.php +++ b/index.php @@ -13,7 +13,6 @@