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 503445c3b8 cron sample преди 11 години
misc cron sample преди 11 години
.gitignore media upload преди 11 години
README README преди 11 години
index.php fixed confirm regex преди 11 години
sql.php api key check преди 11 години
status.php fixed error messages преди 11 години
user.php fixed error messages преди 11 години
utils.php check_table_field return all fields преди 11 години

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