Skip to content

Commit ba02249

Browse files
authored
Update README.md
corrected and added new sections.
1 parent ddbbc2e commit ba02249

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,20 @@ The script will save the First | Last | Email fields data in the database (see a
88
- Apache2 or better
99
- MySQL - 5.5.x or better
1010
- PHP 5.5 or better
11-
- an upload directory with "chmode 655"
11+
- an upload directory with "chmod 755" for the files to upload.
1212

1313
It shouldn't be a problem running on older versions of Apache/PHP/MySQL but I didn't tested it.
1414

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+
1524
# 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!

0 commit comments

Comments
 (0)