WEB source old php code of the skindb api site
https://skindb.sourceforge.io/
mckaygerhard
a32b524256
* the uploading and display rendering process is done.. * data path is hidden cos the image is rendering using base64 * we must then use small DB to display images in upstream on new images |
||
---|---|---|
.idea | ||
api | ||
css | ||
doc | ||
helpfiles | ||
img | ||
js | ||
work | ||
.gitattributes | ||
.gitignore | ||
.htaccess | ||
.project | ||
2dview.php | ||
api.php | ||
crossdomain.xml | ||
download.php | ||
editor.html | ||
favicon.ico | ||
functions.php | ||
getskins.php | ||
humans.txt | ||
index.html | ||
index.php | ||
mt_skins.sql | ||
readme.md | ||
reportSkin.php | ||
robots.txt | ||
shareSkin.php | ||
upload.php | ||
x3dom.swf |
readme.md
this is a playerskin database with a html user interface for the game minetest-c55
#Instalation instruction: you must create the file connectsql.php first. enter all connectinformation and than connect to mysql and select a database
if you want the report function working than you shuld enter your email in the $report_mail. 1.
#!php
<?php
$MYSQL_HOST = "localhost"; //server address to the mysql server
$MYSQL_USER = "***"; //username to the database
$MYSQL_PW = "***";// the pw for the user
$MYSQL_DB = "***";//the name of the db
$conn = mysql_connect($MYSQL_HOST, $MYSQL_USER,$MYSQL_PW); /* connecting to mysql */
mysql_select_db($MYSQL_DB,$conn); /* connecting to the database */
$report_mail = "somebody@somebody.tld" //the email where all reports will sent
?>
-
execute the mt_skins.sql file to create the table.
-
run the index.html page and use the upload function to insert some images
#IMPORTANT info for people who want to help me with this project:
pull requests are welcome! but if you are doing some changes on the database please save that in the mt_skins.sql file too before you create a Pull Request!