Questions tagged as 'php'

1
answer

Run PHP from the command line in the background

I am using the programmed windows tasks to execute a PHP file every X time, the thing is that when executing the program screen is put and then I want it to be in the background ... The first task I did was this: C:\xampp\php\php.exe -f c:/xam...
asked by 09.08.2018 / 00:34
1
answer

Inheritance Uncaught ArgumentCountError: Too few arguments to function

I have problems with the child class constructors. In this case I have an abstract ACCOUNTS class. From it inherits CURRENT ACCOUNT and in turn it inherits ACCOUNTNOWABILITY . When wanting instances CURRENT ACCOUNT AND ACCOUNT CONVERTIBILIT...
asked by 06.09.2018 / 14:39
1
answer

What am I doing wrong in this PHP MySQL exercise [closed]

I'm doing an inner join of 3 tables and it does not work ... with 2 tables it's all good .. when I add the third table it does not show me anything. <?php try{ require_once('include/funciones/db_conexion.php');...
asked by 18.10.2018 / 01:10
1
answer

Why can not I download a file in PHP?

I have a problem when I want to download a file, in this case Excel. I found the code on the Internet, when I paste it I get an error in the header . I've searched for other codes, but apparently they still have problems in the header. It...
asked by 06.09.2018 / 17:38
3
answers

warning: mail () [function mail]: SMTP server response: 550.5.7.1 [email protected] ... Relaying denied. IP name possibly forged [191 ... 174] in line 100

I currently have an application that sends emails through phpmailer . The problem is that it only sends emails that have the domain of my company. When there is an email that is gmail domain, hotmail or another domain, it does not sen...
asked by 15.09.2018 / 17:01
2
answers

Error SSL certificate deploy with heroku and laravel

I have a heroku account, I have SSL certificate errors, chrome shows me the following. Thanks for your help.     
asked by 14.09.2018 / 16:07
2
answers

pass several php arrays to javascript

the following php code that generates two arrays <?php //los datos salen de una tabla mysql $last_year_sales = [2589, 2589, 1478, 2587, 7852, 9632]; $current_year_sales = [1250, 1480, 1156, 3589, 7521, 9632]; //enviar...
asked by 04.08.2018 / 16:01
1
answer

Error with header (location) [duplicate]

I have the following code <?php if(!$_GET){ header('Location:blog.php?pagina=1'); } ?> and it gives me the following error:    Warning: Can not modify header in...
asked by 11.08.2018 / 01:28
1
answer

Integrate sdk payu laravel

in the payu page there is a sdk package to integrate in my laravel 5.6 but I do not know how or where to store it.     
asked by 04.08.2018 / 20:02
1
answer

Link through class or method css file in php

I have been developing a project with php, but I am currently in a problem that is my php files of views have linked many css and js files, but as I am calling them from a router those relative paths are lost, I know that a solution It would be...
asked by 12.08.2018 / 02:39