MedLog is a PHP application that, alongside a MySQL database, allows several users to register and have their own, private drug journal.
MedLog is now up and running here!
This can be used for logging all ingested drugs, both legal or illegal. It has many purposes, the main ones being:
-
Help people who might not remember if they have already taken their medication.
-
Harm reduction - elaborate trip reports, etc.
(NEW) As of v0.3, you only have to modify the config file in include/config.php
with the data
of your site and server.
(NEW) Now you can generate a trip report! Then, you can export it to an HTML or TXT file.
You'll just need a simple HTTP, PHP and MySQL server - my choice for testing and developing is usually LAMP.
-
Clone or HTTP download this project from GitHub to your
htdocs
directory:$ git clone https://github.com/unrar/medlog.git
-
Create a
medlog
database and run the queries inmedlog.sql
on it. This can be done via SQL command line or PHPMyAdmin. -
Edit the
include/config.php
file. Basically you need to change the details of your SQL server and your site.
Home page:
My journal (don't take it too seriously):
Editing an entry:
Selecting entries for a trip report:
Downloaded HTML trip report:
Downloaded TXT trip report:
-
Set MedLog up in a public hosting.(It's up now!) -
Improve CSS.
-
Add option to create a trip report (all entries from a given date)(Added on v0.2!). -
Add AJAX to the Manage module(Added on v1.0!) -
Create an API(Created mAPI on v1.0!) -
Add AJAX to the Tripify module.
-
Manage trip reports through API.