I'm using CodeIgniter to develop a project that involves a restricted area.
I am using session to store the data of the user that is logged in.
I need to close this browser when I close the browser, remembering that I am using CodeIgniter...
Example, I have 2 warnings :
ksort($var);
foreach($var as $v)...;
Warning: ksort () expects parameter 1 to be array, integer given in
Warning: Invalid argument supplied for C: \ www \ test.php
foreach () in C: \ www \ test.php on li...
I have a simple question about encryption using bcrypt with salt.
When in old projects I used md5, to verify in a login form if the user entered the correct password and to authenticate, it was usual to take the value that the user typed and...
I want to make a listbox, where the user can select several options, but using the select multiple, I have to hold ctrl, but this is not ideal, many people will not know that. Can anyone help?
<div class="form-group">...
I'm trying to remove an item from the database, but it is not removing it.
<form action="removelicita.php" method="post">
<input type="hidden" name="id" value="<?=$licitacao['id']?>">
<butto...
Is there any way to access the dropbox folder?
I have the following problem, I am developing a webapp that will work locally on tablets of an event, so for this I am using the AndroPHP app and I would like my apache directory to be a dropbox...
I need to create a method that compares two or more arrays if the current date is greater than the due date (date_paymentX) that exists in those arrays and returns how many occurrences there are.
Method:
public function payments()
{
$da...
I wanted to understand and know if there is any library or strategy to do the same thing Google Drive does with compressed files, to allow you to navigate the files inside the files without having to unzip them.
Does anyone have any idea how...
In PHP, how can I reference the first for from the second, as in the example below?
for ($i=0; $i < 10; $i++) {
for ($j=0; $j < 10; $j++) {
// Quero que esse afete o primeiro 'for' e não o segundo
if ($j ==...