Questions tagged as 'php'

1
answer

Priority to files and not to folders .htaccess

Hide the PHP extensions with .htaccess, I have for example the following file: "avisos.php" that when I access the browser I type: dominio.com/avisos, the problem is that I have a folder named with the same name: "warnings" and this gives me an...
asked by 30.07.2018 / 21:46
0
answers

Error installing existing laravel projects on my pc

I am installing a project in laravel on my pc, downloaded from github, I am running composer install, but I get this error: I am using xampp as a local server in windows 7. I would appreciate your help     
asked by 04.08.2018 / 19:38
0
answers

PHP Mailer sends emails to spam and not to the inbox

Good morning, I am sending emails through phpmailer but come to unwanted especially in destinations @ hotmail.com any idea that can be? <?php require '../phpmailer/PHPMailerAutoload.php'; $mail=new PHPmailer; $mail->...
asked by 06.08.2018 / 02:19
0
answers

How to install Imagick in php?

I'm trying to run a code that is not mine, and I get the following error:    ImagickExtensionNotFoundException: Imagick extension is not loaded. Looking for a bit I found the code of the exception: if (!extension_loaded('imagick')) {...
asked by 05.08.2018 / 00:45
1
answer

select data from two tables without mysql relation

I am creating a form to update data, I bring the information from the table escolar called T1 to update it, and another table ge_jornada called T2 that does not has relation with T1, I genre again the options for a dropdown, wh...
asked by 20.07.2018 / 22:40
3
answers

You want to reference a DIV with the prettyPhoyo plugin

I want the prettyPhoto plugin to be invoked by clicking the div class = 'image'. But I do require that it be by clicking on the div in which I have the image as shown below. Someone help me please. I share the code. <link rel="stylesheet...
asked by 02.08.2018 / 21:58
1
answer

SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the

I have problems trying to parse my JS Here I try to parse him var JSONdata = JSON.parse(message); //parseo la informacion // console.log(JSONdata); nombre = JSONdata[0].nombre; nit = JSONdata[0].nit; funcionario = JSONdata[0].funci...
asked by 01.08.2018 / 16:43
0
answers

Imagick wrongly converts the text of a pdf

I will be direct, I have a problem after installing imagick to convert pdf to jpg when I convert a pdf with text because it does not convert well, here is a sample of what happens: The method I use to convert the pdf to image is as follows...
asked by 03.08.2018 / 00:14
2
answers

Apply formatting to a result of a query in PHP [Resolved]

I have two main files, I copied the content from a previous site (because I do not have much knowledge in PHP). I have a main php called "localizatusucursal.php" which is the front-end page of a BD search. You choose a state, then a city a...
asked by 01.08.2018 / 20:15
0
answers

What is the error in my PHP? [closed]

<?php extract($_POST); if ($action == "upload") { //cargamos el archivo al servidor con el mismo nombre //solo le agregue el sufijo bak_ $archivo = $_FILES['excel']['name']; $tipo = $_FILES['excel']['t...
asked by 12.07.2018 / 23:57