Posts by Wellington Rogati • 107 points
12 posts
-
1
votes0
answers41
viewsQ: Lumen - Middleware running on all requests
I created a Middleware which is working perfectly, but it is running on routes that I have declared in the route group and is also running on other routes that I have not declared. Example: Route 1:…
-
1
votes2
answers38
viewsA: Expose an object ( based on request ) for every application
Create in App/Helpers a Helper the way you need example: <?php namespace App\Helpers; class ClienteHelper { // Sua função estática static function verifyEmail(Cliente $cliente) { $email =…
-
-1
votes2
answers57
viewsA: How do I carry in the Location header only the user name
If "reserve.php" is for business rule only you can use $_SESSION to store the content you want, if it is the direct return of a page that will have HTML rendered you can do: echo…
-
0
votes1
answer107
viewsA: How to pick up specific item In the Laravel Blade
I don’t know if I understand very well, but if you want to pass the name of the project that is configured in the file . Laravel’s ENV just use the helper: {{ config('app.name', 'Laravel') }} Enter…
-
0
votes1
answer370
viewsA: Route without token protection asking for token
Herick, I saw that the route you’re calling on the Postman is Route::post('new/user', 'Personal Controller@store'); And as it uses the POST method Laravel by definition requires a token to avoid…
-
1
votes1
answer569
viewsA: How to create a JOB in ORACLE for backup?
There is how to make a backup, you can make a DUMP from your bank. In the installation folder of oracle server has a folder called "bin" where it has several executables and we will use the "expdp".…
-
1
votes2
answers1965
viewsA: Laravel php auth system
Joan Marcos, Laravel has the authentication functionality ready, just through the console run: php Artisan make:auth If you have the connection to the database configured in the file. ENV creates…
-
-1
votes1
answer44
viewsA: Why can’t I create a tablespace?
Romulo, I can not simulate your mistake because it may be something of your infra, but I worked a time Oracle database and with the research I did found an article that is very close to what you are…
-
1
votes2
answers374
viewsA: Input fields are not being filled in according to value
Based on this information there is no way to give a definitive answer, but what I can help you to understand is what is taking place to take action. We need to know if the query data that is in the…
-
1
votes2
answers61
viewsA: Filtered data within the combo
@lelopes I created an attribute called "cat" and put it inside the "option" as if your PHP was printing it. This way you can access each line of your combo. <select name="tcat" id="tcat">…
-
1
votes1
answer420
viewsA: Best way to generate Holerite, I seek a more viable solution
If you use the relationship through the Model you get this result with only one line. For this you need to have done the relationship between the tables by creating foreign keys at the time of…
-
1
votes3
answers1410
viewsA: Display more than one information in the same table with PHP and MYSQL
Wesley, I reproduced the tables you mentioned in my environment and with the query below I bring the records the way you can show via PHP as you want : SELECT * FROM student to, course c, enrollment…