File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,20 @@ The script will save the First | Last | Email fields data in the database (see a
8
8
- Apache2 or better
9
9
- MySQL - 5.5.x or better
10
10
- PHP 5.5 or better
11
- - an upload directory with "chmode 655"
11
+ - an upload directory with "chmod 755" for the files to upload.
12
12
13
13
It shouldn't be a problem running on older versions of Apache/PHP/MySQL but I didn't tested it.
14
14
15
+ # Usage
16
+ - save the script on a webserver in a folder of your choice (e.g. /var/www/my_project/)
17
+ - create in the same folder a new folder and name it "uploads". If you chose a different name, make sure to change the name in the script too.
18
+ - change the rights on the "uploads" folder to 755 (chmod -R 655 /var/www/my_project/uploads or chmod u+rwX,go+r /var/www/my_project/uploads)
19
+ - create a database and inside the database import the attached accounts.sql file.
20
+ - modify the script to reflect the details of your DB (so it can connect and save data to it)
21
+ - open the script via a web browser ( e.g. http://your_server_address/my_project/script_name.php ) and test it.
22
+
23
+
15
24
# To do
16
- - split everything - create a templating structure
25
+ - I'll have to split everything and create a templating structure, maybe also an admin area.
26
+
27
+ Enjoy!
You can’t perform that action at this time.
0 commit comments