Starting using the new files I've already worked on

Esse commit está contido em:
Felipe
2010-10-29 00:06:40 -02:00
commit 6e9b435b3e
556 arquivos alterados com 90945 adições e 0 exclusões
+17
Ver Arquivo
@@ -0,0 +1,17 @@
<?php
$_REQ= Array();
$_REQ['request_method']= $_SERVER['REQUEST_METHOD'];
$_REQ['env']= 'http';
switch($_REQ['request_method'])
{
case 'GET' : $_REQ['data']= $_GET;
break;
case 'POST': $_REQ['data']= $_POST;
break;
case 'PUT' : parse_str(file_get_contents('php://input'), $put_vars);
$_REQ['data'] = $put_vars;
break;
default:
$_REQ['data']= null;
}
include('mind3rd/API/utils.php');