<?php include_once("WebOpenPatch.php"); $wop = new WebOpenPatch(); $usuario = $_POST['usuario']; $senha = $_POST['senha']; $sql = $wop->wopAntiSqlInjection("SELECT * FROM usuarios WHERE usuario='{$usuario}' AND senha='{$senha}'"); $query = mysql_query($sql); $list = mysql_fetch_object($query); ?>