Questions tagged as 'php'

1
answer

"stdin is not a terminal" when I run Envoy - Laravel 4.2

One month ago everything is working well, until I went deploy a project and ... When you run the command envoy run deploy , using the settings below ... @servers([ 'mt' => '[email protected]' ]) @task('deploy', ['on' => '...
asked by 26.02.2015 / 01:41
1
answer

Multiple databases with multiple applications

I made an application with CodeIgniter that uses only one database. However, I was asked to create multiple copies of this application which will also access several different databases. That is, I will have dozens of applications and dozens o...
asked by 04.12.2014 / 02:26
1
answer

Warning: array_filter () expects at most 2 parameters, 3 given

I have the following code that was taken from example # 3 in the PHP documentation for array_filter() : $arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4); var_dump(array_filter($arr, function($k) { return $k == 'b';...
asked by 14.11.2014 / 22:44
1
answer

Dynamic Search with JSON - PHP - MYSQL

I've been searching the internet but I could not find any references, perhaps because I was searching wrong, so I resorted to creating this post. I have a query in the database (MySql with PHP) that returns me a list of products with several...
asked by 08.12.2014 / 20:43
1
answer

Dynamic chart does not update

I'm using the HTML5 RGraph library and should update dynamically along with the bank. However, I would like the chart to put the last imputed data in the database, so if I entered the value 10 in the database, the graph line would stay in...
asked by 31.10.2017 / 02:15
1
answer

How to configure FTP PHP - Help

When using WinSCP I perform the following steps: (dummy data) hostname: bala.rimunivert.com.br username: zzzzzzz @ rjozzz000 after that he asks Gateway username: juliohenrique Gateway password: 1234566 and after that still appears:...
asked by 27.10.2017 / 15:52
2
answers

nginx does not display index php

So guys, I think it's some configuration on the server that is not displaying the error page, I am running a docker-compose that "uploads" a container php, mysql, and nginx , however, when accessing localhost I get the following error:...
asked by 01.11.2017 / 03:59
1
answer

How to get ID by clicking on a Dynamically added element

I'm getting inside a div new elements via PHP using XMLHttpRequest . So far so good, I get the elements and it displays everything right, but I'm not able to get the ID of these new elements using the Click event. Ex: <div id="...
asked by 21.10.2014 / 19:53
1
answer

Syntax error "Unexpected tag name" in Symfony2 / Twig

My list has the following code: <h1>Posts</h1> {% for posts in post %} <article> <h2> {% post.titulo %} </h2> <div class="content"> {% post.conteudo...
asked by 04.09.2014 / 12:23
2
answers

Is it possible to build a pure HTML registration?

I need to create a registry with name and description in HTML, or PHP, that does not make use of a database but I do not know if it is possible. Something that I could save the records to file and also upload them back to the form. The pag...
asked by 02.11.2014 / 16:31