Questions tagged as 'php'

0
answers

Why does not my login redirect me?

I have been using my system normally but now it does not let me access, I realized that the problem was that my code seemed to be obsolete and I needed to migrate from PHP 5 to PHP 7, try to solve the problem but now it just does not access and...
asked by 27.08.2018 / 18:14
0
answers

Show data from different tables in mysql

I have a problem wanting to show data from different tables, I'm doing an inventory of products, my tables are the following: I want my query to show the last sale and the last order of the products, now my query is this: SELECT pedid...
asked by 27.08.2018 / 22:26
0
answers

Error interpreting jpeg image when downloading

The error is as follows: "(Error interpreting JPEG image file (Not a JPEG file: starts with 0x3c 0x70)" And this is my script to download files: //Extensión del archivo para elegir el mime type switch ($ext) { case 'pdf': $headerType =...
asked by 27.08.2018 / 18:21
2
answers

Check if an image has been sent by form

I have a problem that I do not know how to solve. I would like to know how I can check if an image has been sent through a form. I have a form with different fields, one of them type of image <form action="control.php" method="POST...
asked by 14.09.2018 / 17:46
1
answer

my first virtualhost

Hello very good for all I have always tried to mount a virtual host and it always gives me error Below I will place the contents of my htaccess to see if any one tells me what is wrong in the log error I get VirtualHost not allowed here It shoul...
asked by 14.09.2018 / 18:46
2
answers

How to do CRUD on a bootstrap table

I am using the bootstrap table, I have seen an example where this table can be edited. I tried to edit the table with PHP and MySQL but I do not get results. I've looked at this documentation but I do not get the desired results, I can see...
asked by 28.08.2018 / 11:50
0
answers

Modify class name with XPATH

Basically, I have an Html file full of Divs without major variations between them. So: <div id="all-divs" class="number1"> <div class="generaldiv"> <div class="randomclass"> <input value="2874973...
asked by 14.09.2018 / 18:57
0
answers

DOUBTS to do CRUD of data WITH Jquery, Ajax and PHP + Modal

I have a "history" in a "table", as follows: $indices = '<table> <tr> <th>Selec</th> <th>NumP</th> <th>Fecha</td>...
asked by 28.08.2018 / 19:04
1
answer

My resolve of a Field in Graphql with laravel does not work

I'm trying to perform this custom resolver for a field, I used graphql in Node before, and it's the first time I use it with laravel, I do not understand why my resolver does not work.     
asked by 28.08.2018 / 13:03
1
answer

Login to a web from CURL PHP

regards first of all I have a problem I am trying to start a session on this website link but I can not get the code to work and after starting I want to to go to the list of projects that is here link I would like to help me and thanks to t...
asked by 08.09.2018 / 13:22