26 lines
484 B
PHP
26 lines
484 B
PHP
<?php
|
|
|
|
require('manager/user.php');
|
|
|
|
$request = new stdClass();
|
|
$answer = new stdClass();
|
|
|
|
$request->level_1 = 'create';
|
|
$request->username = 'mrd1609a';
|
|
$request->prenom = 'adrien';
|
|
$request->nom = 'ligou marques';
|
|
$request->email = 'adrien.marques-ligou@etu.iut-tlse3.fr';
|
|
$request->password = ' Test_Password _';
|
|
$request->droits = 'student';
|
|
|
|
|
|
|
|
user_switch_level_1($request, $answer);
|
|
|
|
|
|
|
|
echo var_dump( $answer );
|
|
|
|
echo "<br><br><br><br><br><br><br>It works !";
|
|
|
|
?>
|