note 126093 added to function.mailparse-determine-best-xfer-encoding

From: Date: Wed, 19 May 2021 20:52:19 +0000
Subject: note 126093 added to function.mailparse-determine-best-xfer-encoding
Groups: php.notes 
Request: Send a blank email to php-notes+get-216405@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> <form> <input type="submit" name="listatodo" value="Listado Completo"> <br> <input type="submit" name="listaempresa" value="Listado por nome de Empresa"> <br> <input type="submit" name="listaempregado" value="Listado por Empregado Adxunto"> <br> <select name="fabricante"> <option value="asus">Asus</option> <option value="kingston">Kingston</option> <option value="logitech">Logitech</option> <option value="samsung">Samsung</option> <option value="seagate">Seagate</option> <option value="toshiba">Toshiba</option> </select> <br> <?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.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.17.opcions.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>"; } elseif (strcmp("'".$_GET['usuario']."'", "Ana")) { echo"<form action='1.17.opcions.php'> <br><input type='submit' name='engadir' value='Engadir rexistro'> <br><input type='submit' name='editar' value='Editar rexsitro'> <br><input type='submit' name='editar' value='Eliminar rexsitro'> </form>"; } ?> ?> </form> </body> </html> ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 95.120.181.174) ---- Manual Page -- https://php.net/manual/en/function.mailparse-determine-best-xfer-encoding.php Edit -- https://main.php.net/note/edit/126093 Del: integrated -- https://main.php.net/note/delete/126093/integrated Del: useless -- https://main.php.net/note/delete/126093/useless Del: bad code -- https://main.php.net/note/delete/126093/bad+code Del: spam -- https://main.php.net/note/delete/126093/spam Del: non-english -- https://main.php.net/note/delete/126093/non-english Del: in docs -- https://main.php.net/note/delete/126093/in+docs Del: other reasons-- https://main.php.net/note/delete/126093 Reject -- https://main.php.net/note/reject/126093 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#216405) next »