
buee.. disculpen, pero es q me exité demaciado x las circunstancias. Les comento que un pedí ayuda a un amigo, y el lo hizo, me explicó algunas cosillas, pero en fin, me hizo un ejemplo, y funcionó bien, luego me lo dejó a mi, pero a mi me sale un problema, siempre me sale perdedor... no sé si me podrian ayudar, ya q a mi amigo se lo tragó la tierra, aca les dejo el codigo:
Código :
<?
$resultado=$_POST['valor'];
if ($resultado=='')
{echo " acceso no permitido";
exit(0);
}
else {
?>
<?
if ($resultado==058610)
{
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
</head>
<body>
<div align="center"><img src="images/Winner_page[4].gif" width="600" height="400" /></div>
</body>
</html>
<?
}
?>
<? if ($resultado!=058610)
{
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
</head>
<body>
<div align="center"><img src="images/Loser_page.gif" width="600" height="400" /></div>
</body>
</html>
<?
}
?>
<?
}?>
con esto si me pueden ayudar, cierto??... plz ayudadita!!!