Slim Rest Api
Index.php <?php error_reporting(-1); ini_set('display_errors', 'On'); require_once '../include/db_handler.php'; require '.././libs/Slim/Slim.php'; \Slim\Slim:: registerAutoloader(); $app = new \Slim\Slim(); /*Rest For Login*/ $app->post('/user/app_reg', function() use ($app) { $name = $app->request->post('uname'); $email = $app->request->post('umail'); $mobile = $app->request->post('umbl'); $password = $app->request->post('upwd'); $cardname = $app->request->post('cardname' ); $cardno = $app->request->post('cardno'); $expmnth = $app->request->post('expmnth') ; $expyear = $app->request->post('expyear') ; // error_log(print_r($password), 3,'D:/error.txt'); // validateEmail($email); $db = new DbHandler(); $respon...