Questions tagged as 'php'

0
answers

You doubt about cycle or loop for

I have a question about ciclo for , is that I have a form where I send and I receive the following variables: case 'updatePD': //ACTUALIZACION DEL COLABORADOR if(!empty($_POST['consecutivo'])){ $n=count($_POST['consecutivo']); $iddatosp...
asked by 23.04.2018 / 15:38
1
answer

Authorize SPA client using client credential grant token and personal access token - Laravel Passport

First I will put them in context. I am developing a Rest API using laravel and as authorization method oauth2 using Laravel Passport implementation. On the other hand I am developing a Javascript client (Single Page Application or SPA) tha...
asked by 07.05.2018 / 23:07
2
answers

Search Result in Laravel

Doing a search in Laravel, it gives me the search well in terms of name but not in ID. That is to say. This is the list of objects <div class="panel-body-exercises"> <h1 class="hidden">List of Exercise </h1>...
asked by 13.04.2018 / 23:25
1
answer

Security deploy API Laravel

I have an app made in Laravel only to consume in REST but how do I do it so that there are not public files and sensitive routes like / storage or composer.json until .env? What good practices do you recommend, if .htaccess is a good idea or not...
asked by 13.04.2018 / 00:36
1
answer

All routes (route) of Laravel return ERROR 404

I have just created my first project with Laravel, and I am following all the steps little by little. But I find myself stuck with an error that I can not solve. When editing the web.php file in the routes directory, it happens that no ro...
asked by 16.12.2018 / 00:33
0
answers

Make custom registration and login in WordPress

How can I create a template for user registration and login other than WordPress itself? That is, for the moment I have a custom-login.php where it consists of a box divided into two, one is for login (that is resolved) and the o...
asked by 19.03.2018 / 13:03
1
answer

Multi-table mysql query and repeated data

first of all thank you very much in advance for your help, I am learning php and queries based on data and I have some doubts, I am doing a multitasking query that is something like the following: SELECT t.Tourname, c.FechaConcierto, can.nombr...
asked by 31.01.2018 / 06:51
1
answer

I need to increase and save a value that I get from an edittext in android studio

Codig (JAVA) to increase the value Existence in my database In this part where I want to increase the value of Existence and save your update is where I have the error. The LogCat shows me the error here.etExistence.setText (count); priv...
asked by 24.01.2018 / 00:11
3
answers

Error in laravel when doing post Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException No message

I'm doing a simple CRUD in laravel 5.5 along with laravel colective but simply do not send me the post in fact or acknowledge the request: There are my routes Route::get('/admin/products/{id}/edit', 'ProductController@edit')->name('Edit...
asked by 27.03.2018 / 05:27
0
answers

Upload Files with Angular 5

Hi, I have a form in angular but I would like to send a file to the api as basically just the sending of that file is done? <ma-header></ma-header> <mat-card *ngIf="event"> <mat-card-title>{{h1Text}}</mat-card-ti...
asked by 25.03.2018 / 04:07