-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
29 lines (27 loc) · 790 Bytes
/
index.php
File metadata and controls
29 lines (27 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/*
* Index file
*
* Stick this file in the root of your application.
*
* @name: index.php
* @author: Bade Iriabho <[email protected]>
* @copyright: 2011-12 Bade Iriabho
* @license: Free to use, just remember the first law of sharing "Give credit where it is due". Author is not liable for any damages that results from using this code.
* @version: See VERSION
*
*/
include_once 'includes/class.webrw.php';
if(isset($_GET['get']) || isset($_POST['get'])) {
$my_webrw = new webrw();
$my_webrw->get();
} elseif(isset($_GET['doc']) || isset($_POST['doc'])) {
$my_webrw = new webrw();
$my_webrw->get();
} elseif(isset($_GET['set']) || isset($_POST['set'])) {
$my_webrw = new webrw();
$my_webrw->set();
} else {
echo "Invalid action!!!";
}
?>