bakalarska_praca/database/app/Http/Controllers/EnrollUserController.php

19 lines
393 B
PHP
Raw Permalink Normal View History

2023-05-11 19:57:12 +00:00
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class EnrollUserController extends Controller
{
public function enrollUserAction(Request $request){
$name = \request('name');
// return var_dump($name);
// $output = shell_exec('python3 /home/valer/enroll_raspberrypi.py ' . escapeshellarg($input));
return redirect('add-user');
}
}