Good morning,
I have the following code to send an email via PHPMailer.
<?php
$GetPost = filter_input_array(INPUT_POST,FILTER_DEFAULT);
$Erro = true;
$Tipo = $GetPost['tipo'];
$Nome = $GetPost['nome'];...
I have this code that reads a file created by Netscape HTTP Cookie File , however I was only able to use the script and read the file of the user who is with the session username open, I need to list all TXTS and read all the...
I am registering a name in a modal, sending to the controller and putting in the session. Returning to the view has nothing in the session. What am I doing wrong?
Controller
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use...
I'm trying to get the ID of a bank data with PHP. At the time of returning the value, it always comes as 1.
//Obtenho os valores por GET
$description = $_GET['DESC'];
$contentType = $_GET['TYPE'];
$content = $_GET['CONT'];
//Crio meu objeto d...
I was developing an application with Laravel 5.5 with a Mysql database. Everything was working normally, however, now the database has been modified to SQL Server.
When I run the test, it returns the error "Invalid handle returned."
Searc...
I have a media table with the fields id_midia , nome , tipo , and another synonymous table that has the id_midia , sinônimo
I need to make a query where it checks the two tables whether the term you typed is co...
What is the best way to 'convert' a website or PHP or HTML system to an Android and iOS app ?
I have a PHP script with MySQL DB and HTML site, and I heard that it can generate the site or system version in PHP or HTML for Android and iOS app...
I have the following array , how could I store in a new array only the "product_id" of all "store_id"?
array(2) {
[0]=> array(2) {
["loja_id"]=> string(3) "286"
[0]=> array(2) {
[...
I need to upload the image with ajax / jquery, following this structure:
Form:
<form>
<input type="text" name="seu_nome" />
<input type="text" name="sua_senha" />
<input type="file" name="file" />
<button type...
I'm doing a system in PHP, but I'm stopped because I can not find the solution to a challenge.
I have 2 tables, one call objetos and another call gavetas . I have several names of drawers registered in the gavetas table an...