bakalarska_praca/database/app/Http/Controllers/EnrollUserController.php
2023-05-11 21:57:12 +02:00

19 lines
393 B
PHP
Executable File

<?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');
}
}