Citar
<?php
include("Connections/ip.php");
$ip_adress=$_SERVER['REMOTE_ADDR'];
$busqueda= mysql_query("SELECT ip FROM maquina WHERE ip='".$_SERVER['REMOTE_ADDR']."'",$ip) or die(mysql_error());
if(mysql_num_rows($busqueda)>0) {
echo "aqui quiero que me lea el codigo html";
} else
{
echo "acceso denegado";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<body>
<style type="text/css">
<!--
body {
background-color: #0066FF;
}
.Estilo1 {font-size: 24px}
-->
</style><form action="validar_usuario.php" method="post">
<div align="center">
<p> </p>
<p class="Estilo1"></p>
<p> </p>
<table width="200" border="2">
<tr>
<th scope="row">Contraseña</th>
<td><input name="password" type="password" id="password" size="10" maxlength="10" /></td>
</tr>
</table>
<p>
<input type="submit" value="Aceptar" />
</p>
<br />
</div>
</form>
</head>
</body>
</html>
include("Connections/ip.php");
$ip_adress=$_SERVER['REMOTE_ADDR'];
$busqueda= mysql_query("SELECT ip FROM maquina WHERE ip='".$_SERVER['REMOTE_ADDR']."'",$ip) or die(mysql_error());
if(mysql_num_rows($busqueda)>0) {
echo "aqui quiero que me lea el codigo html";
} else
{
echo "acceso denegado";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<body>
<style type="text/css">
<!--
body {
background-color: #0066FF;
}
.Estilo1 {font-size: 24px}
-->
</style><form action="validar_usuario.php" method="post">
<div align="center">
<p> </p>
<p class="Estilo1"></p>
<p> </p>
<table width="200" border="2">
<tr>
<th scope="row">Contraseña</th>
<td><input name="password" type="password" id="password" size="10" maxlength="10" /></td>
</tr>
</table>
<p>
<input type="submit" value="Aceptar" />
</p>
<br />
</div>
</form>
</head>
</body>
</html>