Authors:
- site and panel script: Ferexio^ & Fervi
- panel template: Heniooo
- protection against SQL Injection: gilek
- script version: 1.2
- pagination by Fervi
- site template: Heniooo
README!
- Script doesn't have login and register functions, so if you want create post use strona.php but first secure this file - for example use .htaccess :)
- Remember, before using this script, create database :)
- create file (sitesitesite.php) paste this code and run in browser (www.yoursitename.tld/sitesitesite.php):
<?php
$cdt = new SQLite3('/path/to/database/file.sqlite');
$createtable = $cdt->query('CREATE TABLE tablename(ID INTEGER PRIMARY KEY AUTOINCREMENT, title varchar(200), news text, date datetime);');
$cdt->close();
?>
- after created database and tables remove this file (mean remove sitesitesite.php)
- database must be aside from public_html
- database must have chmod 700 (for www-data) or 770 (for www-data:usergroup)
- This is script for minimal site, so if you want more features then wait for the next update or do it yourself.
- In free time we have in plans:
- adding security for strona.php
- Description about script is in the readme.txt file
Want more ? Write notification: https://github.com/ferexio/minisite/issues
Example: https://uw311.mikr.us
Of course you can use Sourceforge.net as hosting for your website ;)