Do you have a usb port behind your head?
Can you help me, how can I solve this problem?
which extension you mean?
How can I achieve this without using default migrations or models?
But how can I implement Auth and Session details with this?
Have a session ?
Show me ur code
Lol
Do you have a usb port behind your head?
Send a screenshot of your code.. So some one will find your mistake and help you
Email correct email format
Mobile number only
Name alphabet only
How to do,I try some codes
GegoK12 is advanced School Management Software, crafted to effectively communicate with Parents and Students through Mobile App.
I try validation on my controller
Using formData to appending file, check this might help you
https://www.cambotutorial.com/article/laravel-9-ajax-image-upload-in-database
We will explain detail in Laravel 9 using Ajax to upload image and preview on webpage before upload. You will learn upload image using Ajax inΒ Laravel 9 with validation. We will try to find simple example to show how
Send dm mate
Adds livewire css to your layout.
Please, I’m having issues here, i’m getting this above children
Thanks π
I need your help,ππ»
When I’m installing laravel, the composer doesn’t install laravel completely for me, gives me a message, and doesn’t create my “Vendor” and lock.json file.
Can you help me, how can I solve this problem?
The message is :
Problem 1
– laravel/framework[v9.19.0, …, 9.x-dev] require league/flysystem ^3.0.16 -> satisfiable by league/flysystem[3.0.16, …, 3.x-dev].
– league/flysystem[3.0.16, …, 3.x-dev] require league/mime-type-detection ^1.0.0 -> satisfiable by league/mime-type-detection[1.0.0, …, 1.11.0].
– league/mime-type-detection[1.0.0, …, 1.3.0] require php ^7.2 -> your php version (8.1.0) does not satisfy that requirement.
– league/mime-type-detection[1.4.0, …, 1.11.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP’s fileinfo extension.
– Root composer.json requires laravel/framework ^9.19 -> satisfiable by laravel/framework[v9.19.0, 9.x-dev].
To enable extensions, verify that they are enabled in your .ini files:
– C:\Program Files\php-8.1.0\php.ini
You can also run php –ini inside terminal to see which files are used by PHP in CLI mode.
I need your help,ππ»
When I’m installing laravel, the composer doesn’t install laravel completely for me, gives me a message, and doesn’t create my “Vendor” and lock.json file.
Can you help me, how can I solve this problem?
The message is :
Problem 1
– laravel/framework[v9.19.0, …, 9.x-dev] require league/flysystem ^3.0.16 -> satisfiable by league/flysystem[3.0.16, …, 3.x-dev].
– league/flysystem[3.0.16, …, 3.x-dev] require league/mime-type-detection ^1.0.0 -> satisfiable by league/mime-type-detection[1.0.0, …, 1.11.0].
– league/mime-type-detection[1.0.0, …, 1.3.0] require php ^7.2 -> your php version (8.1.0) does not satisfy that requirement.
– league/mime-type-detection[1.4.0, …, 1.11.0] require ext-fileinfo * -> it is missing from your system. Install or enable PHP’s fileinfo extension.
– Root composer.json requires laravel/framework ^9.19 -> satisfiable by laravel/framework[v9.19.0, 9.x-dev].
To enable extensions, verify that they are enabled in your .ini files:
– C:\Program Files\php-8.1.0\php.ini
You can also run php –ini inside terminal to see which files are used by PHP in CLI mode.
Enable mentioned extensions in your php.ini.
which extension you mean?
I think it’s fileinfo extensions. Edit your php.ini and enable. Then try installation again.
This parameter is uncommented by default in the xampp.
That’s a composer. Check that the php version that composer uses has the extension enable
C:\Program Files\php-8.1.0\php.ini
Thank you so much, bro, my problem is solved.ππ»ππ»ππ»
How can I achieve this without using default migrations or models?
How can I achieve this without using default migrations or models?
Can I have a look at your code
How can I achieve this without using default migrations or models?
Store log for exception handle
This is my login code
———————
$username = $request->input_username;
$password = $request->input_password;
if ($username && $password) {
$user = DB::table(‘dbo.user_Manager’)
->select(‘User_Name’, ‘Emp_Name’, ‘Password’)
->where(‘User_Name’, ‘=’, $username)
->get();
if ($user->first()) {
if ($password == base64_decode($user[0]->Password)) {
$request->session()->regenerate();
$request->session()->put(‘username’, $username);
return redirect()->route(‘search’);
} else {
return redirect(‘/’);
}
} else {
return redirect(‘/’);
}
}
This is my Routes file
———————
Route::group([‘middleware’ => [‘auth’]], function () {
Route::get(‘/search’, [SearchController::class, ‘index’])->name(‘search’);
});
———————
$username = $request->input_username;
$password = $request->input_password;
if ($username && $password) {
$user = DB::table(‘dbo.user_Manager’)
->select(‘User_Name’, ‘Emp_Name’, ‘Password’)
->where(‘User_Name’, ‘=’, $username)
->get();
if ($user->first()) {
if ($password == base64_decode($user[0]->Password)) {
$request->session()->regenerate();
$request->session()->put(‘username’, $username);
return redirect()->route(‘search’);
} else {
return redirect(‘/’);
}
} else {
return redirect(‘/’);
}
}
This is my Routes file
———————
Route::group([‘middleware’ => [‘auth’]], function () {
Route::get(‘/search’, [SearchController::class, ‘index’])->name(‘search’);
});
Response ?
Can you guide me Why this code is bad. It is already in running condition.
Also, what do you mean by “response”
I dont know how to implement that. Can you refer me any tutorials for that.