note 126091 added to function.mail
| From: | anonymous at main dot php dot net | Date: | Wed, 19 May 2021 18:13:26 +0000 |
| Subject: | note 126091 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216400@lists.php.net to get a copy of this message | ||
<?php
@session_start();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Saludo</title>
</head>
<body>
<?php
$flag=1;
if(!isset($_SESSION['usuario']))
{
$conexion=mysqli_connect("localhost","root","","empresa")
or die(mysqli_error());
$consultaUsuario="SELECT * from datos WHERE usuario LIKE
'".$_GET['usuario']."' AND contrasinal LIKE
'".$_GET['contrasinal']."'";
echo $consultaUsuario;
$res=mysqli_query($conexion,$consultaUsuario);
if (mysqli_num_rows($res)==0) {
echo "Usuario ou contrasinal incorrectos";
echo "<form action='1.16.login.html'>
<input type='submit' name='volver' value='volver'>
</form>";
$flag=0;
}
}
if ($flag==1) {
echo "<table>";
echo "<tr><th>Numero</th><th>Nome</th><th>Num Empregado
Asignado</th><th>LÃmite Crédito</th></tr>";
echo"<form action='1.16.datos.php'>
<br><input type='submit' name='empresa' value='Ordenar polo
nome da Empresa'>
<br><input type='submit' name='empregado' value='Ordenar polo
Empregado Asignado'>
</form>";
}
?>
</body>
</html>
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 79.151.235.156)
----
Manual Page -- https://php.net/manual/en/function.mail.php
Edit -- https://main.php.net/note/edit/126091
Del: integrated -- https://main.php.net/note/delete/126091/integrated
Del: useless -- https://main.php.net/note/delete/126091/useless
Del: bad code -- https://main.php.net/note/delete/126091/bad+code
Del: spam -- https://main.php.net/note/delete/126091/spam
Del: non-english -- https://main.php.net/note/delete/126091/non-english
Del: in docs -- https://main.php.net/note/delete/126091/in+docs
Del: other reasons-- https://main.php.net/note/delete/126091
Reject -- https://main.php.net/note/reject/126091
Search -- https://main.php.net/manage/user-notes.php