You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Thoni 66ddaa6fb4 README 10 年之前
misc apache config 10 年之前
.gitignore media upload 10 年之前
README README 10 年之前
index.php fixed confirm regex 10 年之前
sql.php api key check 10 年之前
status.php fixed error messages 10 年之前
user.php fixed error messages 10 年之前
utils.php check_table_field return all fields 10 年之前

README

VDM webservice API for 3ie recruitment.

API online demo:
https://api.vdm.rthoni.com/
Api-Key: demo42

API Documentation:
- https://api.vdm.rthoni.com/doc/index.html
- http://vdm.3ie.fr/doc/index.html

Developped with:
- apache2
modules:
- ssl (optionnal)
- rewrite
- PHP 5.3.3-7+squeeze19
- mysql Ver 14.14 Distrib 5.1.73

Apache configuration example:
misc/api.vdm

API configuration example:
misc/config.php.sample
Save it as misc/config.php

Database structure:
misc/create_database.sql
Create database, then insert this structure

API test:
Create structure then fill database with test_database.sql
Exec misc/tests.php

Clear script:
misc/api.vdm-clear.php
Remove expired tokens
Run it frequenlty (every 24h would be nice)
Cron example:
misc/api.vdm-cron