note 126077 added to function.mail

From: Date: Thu, 13 May 2021 11:02:31 +0000
Subject: note 126077 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-216382@lists.php.net to get a copy of this message
<?php $flag=1; if(!isset($_SESSION['usuario'])) { $conexion=mysqli_connect("localhost","root","","empresa") or die(mysqli_error()); $consultaUsuario="SELECT * from producto 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.17.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>"; } ?> ?> </form> </body> </html> ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 91.117.51.176) ---- Manual Page -- https://php.net/manual/en/function.mail.php Edit -- https://main.php.net/note/edit/126077 Del: integrated -- https://main.php.net/note/delete/126077/integrated Del: useless -- https://main.php.net/note/delete/126077/useless Del: bad code -- https://main.php.net/note/delete/126077/bad+code Del: spam -- https://main.php.net/note/delete/126077/spam Del: non-english -- https://main.php.net/note/delete/126077/non-english Del: in docs -- https://main.php.net/note/delete/126077/in+docs Del: other reasons-- https://main.php.net/note/delete/126077 Reject -- https://main.php.net/note/reject/126077 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#216382) next »