Questions tagged as 'php'

1
answer

help with aws rekognition and php

Hello good afternoon I am using the aws SDK and php but I get an error and I do not know how to solve it I would appreciate your help very much thanks in advance. require '../../vendor/autoload.php'; use Aws\Rekognition\RekognitionClient; $cr...
asked by 15.11.2018 / 22:17
1
answer

Query about PHPMAILER and problems with PHP arming

$(function(){ $("#btnSubmit").on("click", function(e){ var errorMessage = $(".errorMessage"); var validMessage = $(".validMessage"); var hasError = false; var hasvalid = true; $(".inputValidation").each(function(){...
asked by 15.11.2018 / 23:49
1
answer

Login in angular and php

friends I have a problem is that I was already commenting that I needed to make a login in ANGULAR version 5 or 6 and in PHP and I have this error I do not know if someone understands it and helps me solve it, I would appreciate it a lot...
asked by 18.11.2018 / 00:29
0
answers

How to add a user to WC Membership with php?

I'm using woocommerce membership on my site, I need to do a PHP script that adds users as a member to a certain membership. What function should I use? Thank you very much from now!     
asked by 15.11.2018 / 23:26
0
answers

Selecting a single data from the database with a drop-down list

I need help porfa, my situation is this: I have a database with more than 1000 stored chemical data, and until now and managed to put the names of these chemicals in a drop-down list, through php, but these data I want to show it in a table, I m...
asked by 17.11.2018 / 23:16
1
answer

Get name of an image loaded in PHP (Codeigniter)

I'm trying to get the name of an image in the controller of a Codeigniter project, however, I can not get it. This is my method: public function add() { $path = 'img/noticias/'; $config = array( 'upload_path' => "./img/n...
asked by 18.11.2018 / 00:40
0
answers

Problems sending emails with PHPMailer

I change the color of the text, which is in the mail, when it was sent the first time it comes in black, but when it was sent a second time and it is attached in the same mail the one below appears with a purple color . Sent 1st time; Code...
asked by 16.11.2018 / 14:44
2
answers

Help with PHP function to discard a MySQL data

I have the following: $verf = "SELECT nro_transf FROM pedidos WHERE nro_transf = '$nro_transf'"; $result = mysqli_query($db, $verf); $rows = mysqli_num_rows($result); $verf2 = "SELECT nro_transf FROM pagos WHERE nro_transf = '$nro_transf'";...
asked by 16.11.2018 / 15:49
1
answer

Url friendly by HTACCESS

I'm working on pure PHP and I want to work in ajax with friendly urls but I do not know how to configure the htaccess or where to locate it. What have I tried? create the .htaccess with RewriteRule ^utilities/(.+)\.php utilities/functio...
asked by 15.11.2018 / 16:44
0
answers

Recover Deleted User Model in Laravel

Following a CRUD tutorial with Laravel and VUE, in a moment it makes me delete the Model 'User.php' because we were not going to use it. But now I find that I want to use it because I want to make an aravel system. I wanted to re-create the mode...
asked by 15.11.2018 / 16:12