Does anyone have information about the phar function?
What is it, what is it for, how is it used and what is the advantage?
I found a lot on the internet, but nothing so specific, so I decided to ask.
Thinking about creating a system of login and secure registration, I want to take some measures, as I have been reading, I have verified several errors that I made, especially regarding Global variables:
link
Ex:
I always validated my su...
I have a problem that is as follows, I have the fields: Name, Age and Text;
In a part of the system I register that the Text field will only appear if the Name field is equal to PH and the Age field has the value 20 with both tr...
I would like to get the $valortotal and take it into a function of a class as can be seen in the example below. Thank you.
$valortotal = 15.00;
class CreatePaymentRequestLightbox
{
public static function main()
{
$pedid...
In java it is possible to create and manipulate list of any data type using List<E> , see the example below:
List<String> lista = new ArrayList<>();
lista.add("Stack");
lista.add("Over");
lista.add("flow");
I created...
I have a problem with my PHP when I pass more than one variable for it to check separated by a comma it generates a parse error.
Look at my code below:
if (isset($_POST['btnCriaTempo'])){
$ordem = trim($_POST['ordem']);
$time...
I have the following files based on other scripts I've tried to study:
authenticate.php
<?php
session_start();
if (isset($_POST['token'], $_POST['login'], $_POST['senha'])) {
$token = empty($_SESSION['token']) ? NULL : $_SESSION['to...