I want to make a simple PHP page where you can only access if you log in first. My code is something like this: if (the user logged in correctly) { session_start(); echo “THE HTML PAGE. (I did …
I want to make a simple PHP page where you can only access if you log in first. My code is something like this: if (the user logged in correctly) { session_start(); echo “THE HTML PAGE. (I did …
I’m working on a web application using Laravel and I’d like to know if it were possible to limit login attempts per example, if some user enter wrong credentials for 3 times s/he needs to wait 10 min …
I have two entity User and Booking which are related with oneToMany relationship, when a user ake a booking the user id is saved in the user_id column table of booking, I want in my controller to …
I just upgraded to laravel 8, and want to use jetstream package but i am having issues installing it. Can someone tell complete procedure of how to install Laravel 8 jetstream project via composer and …
I hope you are the best. I’m trying to create a multi-language feature in my Laravel app. but I don’t know how to insert Auth::routes in my web routes file to support my multi-language. this code …
I had an old Symfony 3.1 site that I upgraded to Symfony 3.4.x then to Symfony 4.4.11 but I didn’t upgrade it to symfony flex. I fixed many things and the public sites seem working. I had to rebuild …
I want to override core registration functionality in Laravel 7.23.2. According to this source I need to override the register() function, which belongs to the trait ‘RegistersUsers’ and is located in …
Imagine I have a page called index.php and several other pages that are linked to it. Any link on index.php requires logging in to access it. All the links on index.php should redirect me to another …
I’m having trouble trying to compare my entries in a database with a php file, I have a connection and I’m getting results but I can tell I’m grabbing the whole list of entries and trying to compare …
Ok let me explain my requirement shortly. I have a portal where suppliers can register and add their content to our site. Usually, registration has 5 steps where after the supplier completes the first …