PATH:
home
/
centosnipponia
/
public_html
/
appnip
/
app
/
Http
/
Controllers
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; class ApiController extends Controller { public function vintomodel(Request $request) { $vin=$request->vin; $models=DB::select("SELECT model FROM `vintomodel` where vin='". $vin."';"); foreach ($models as $result) { $model=$result->model; } return [ 'vin' => $vin, 'model' => $model ]; } }
[+]
..
[-] ApiController.php
[edit]
[+]
Auth
[-] CapetownController.php
[edit]
[-] Controller.php
[edit]
[-] DominicanController.php
[edit]
[-] EuropeController.php
[edit]
[-] HomeController.php
[edit]
[-] PricesController.php
[edit]
[-] ProductController.php
[edit]
[-] UinController.php
[edit]
[-] .htaccess.disabled
[edit]