Questions tagged as 'php'

1
answer

Is FluentPDO safe?

Someone who has already used FluentPDO , can you tell me if it's secure against SQL Injects? It's okay that it uses PDO, but it suddenly does not handle the data before it is sent to the database. And if it is secure, I want to study it to d...
asked by 24.03.2014 / 20:48
1
answer

RecursiveDirectoryIterator: failed to open dir: Too many open files

In a matter of minutes, and without being able to gather data to understand what might be behind it, I get the following error:    RecursiveDirectoryIterator :: __ construct (path / to / directory) [recursivedirectoryiterator .-- construct]:...
asked by 04.04.2014 / 18:29
2
answers

problem with regular expressions in php

I'm having a problem with PHP. I created a search system with php without using database. the search works perfectly, the system can search for a word in the files, the problem is in displaying the results of the search, the system used to displ...
asked by 07.01.2015 / 20:23
1
answer

Vagrant with PHP + MySQL + Linux + Puphpet + ZF2 too slow

I have a Windows-based environment with ZF2, Doctrine, and MySQL that runs very fast. But now I'm experimenting with Vagrant with the machine configured through Puphpet. I was able to make the system work in this environment, but it is extrem...
asked by 05.01.2015 / 19:58
1
answer

Dropdown with default value and option "all"

Using CakePHP in my project, I created a dropdown to use to search the database for values and strings . I need to create an "all" option to search all the results and to be the "default" option of this dropdown . How can I do this? Co...
asked by 09.01.2015 / 16:26
2
answers

Pass variable with several input / select

I have a form with several input that I create with a for loop, which I pass through POST to another page and change its name as in the example: <form action="page2.php" method="post"> <?php for($i=1; $i<=10; $i++){ ?> <...
asked by 06.01.2015 / 20:34
2
answers

How to limit an input according to the variable?

I have 2 fields as shown below: <div class="col-md-4"> <label for="descricao">Valor título </label> <div class="input-group"> <span...
asked by 22.11.2018 / 19:41
1
answer

true giving problem (bug) in code [closed]

Good evening guys, I was developing a script in php and when I put the true being passed by parameter to a function into an array dynamically, it gave a bug. I can not explain the right bug, but the function works pretty much like array_uniqu...
asked by 30.11.2018 / 02:13
1
answer

MySQL query problems [closed]

<form method="POST" class="w-100" action="pesquisa_diaria.php"> <div class="card-body"> <div class="row"> <div class="col-sm-3"> <label>Tipo de Venda...
asked by 13.12.2018 / 00:49
1
answer

Catch an HTML color As IMAGE [duplicate]

How to capture a color in HTML but this color must be similar to the image ... EXAMPLE: (THE BACKGROUND AND APPEARED WITH THE IMAGE) EXAMPLE02:(REPAIRTHEBACKGROUND!) How can I do this to get the color in HTML , so can I use this...
asked by 11.12.2018 / 22:04