elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Como proteger una cartera - billetera de Bitcoin


  Mostrar Mensajes
Páginas: 1 ... 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 ... 73
551  Programación / Programación Visual Basic / Re: Ayuda Para crear password con oportunidades limitadas.. en: 5 Diciembre 2006, 03:12 am
que onda men tengo mucho que no ando por esta zona VB.


bueno solo pon una variable que es lo mas facil que se me ocurre

Código:
dim control as Integer

Private Sub Clave_KeyPress(KeyAscii As Integer)
   If KeyAscii = 13 Then
         If Clave.Text = "RMR" Then
             Unload Me
             FrmReloj.Show
         Else
            MsgBox "Contraseña incorrecta",vbcritical,"Acceso Denegado"
           control=control+1
              if control=3 then
                 End
              end if
        End If
  End If
End Sub

Nota: siempre es bueno que acomodes tu codigo es algo que yo no hago pero creeme que es recomendable para la gente que vea tu code sera mas facil de entenderlo
552  Programación / Scripting / Re: Calculadora en batch por mi ^.^ en: 5 Diciembre 2006, 01:45 am
ps ya la probe y esta bien pero yo digo que estaria mejor en C seria mas rapido bueno pero te quedo bien
553  Media / Diseño Gráfico / Re: Avatar nuevo - Opinion en: 5 Diciembre 2006, 01:03 am
.:wvb:. no cabe duda que tu eres uno de los mejores diseñadores que andan por aqui, jeje aver si un dia me enseño a diseñar bien na mas se manejar el Fireworks
554  Programación / PHP / Re: Miren esto que me pusieron en mi web php en: 1 Diciembre 2006, 09:00 am
este es el codigo de la que guarda


Código:
<html>
<head>
<title>Acorder Manager</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<?php
$hora =date('d/m/Y - H:i:s');
// lo mas nuevo
if((strlen(trim($nombre))==0)||(strlen(trim($mail))==0)||(strlen(trim($edad))==0)||(strlen(trim($des))==0)||(strlen(trim($pais))==0))
{
echo'

<!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>Acoerder Manager</title>
<style type="text/css">
<!--
.Estilo2 {
font-size: 9px;
color: #A36929;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.Estilo4 {
font-size: 10;
font-weight: bold;
}
.Estilo5 {color: #D59753}
-->
a,a:link { color: #D59753; text-decoration: none; }
a:hover  { color: #ff9900; text-decoration: none; }
</style>
</head>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body bgcolor="#6B2101">
<style>
select
{ background:#993300;
color:#D7B344;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
}
input
{
background:#993300;
color:#D7B344;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
}
</style>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="img/cabezera.jpg" width="250" height="80" /><img src="img/cabesera.jpg" width="500" height="80" /></td>
  </tr>
</table>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="336"><div align="center">
      <table width="750" border="0" cellpadding="0" cellspacing="0">
        <tr bgcolor="#993300">     
<td height="20">
  <div align="center"><a href="new.php"><img src="img/new.jpg" alt="Descubre las trascripciones mas nuevas" width="100" height="20" border="0"></a><a href="colabora.php"><img src="img/colabora.jpg" alt="Tu puedes subir tus trascripciones en colabora" width="100" height="20" border="0" /></a><a href="peticiones.php"><img src="img/peticiones.jpg" alt="No esta solo pidela" width="100" height="20" border="0"></a> <a href="top20.php"><img src="img/top20.jpg" alt="Los mas popular de acoder manager" width="100" height="20" border="0"></a><a href="http://ladinastia.webcindario.com/acordermanager.exe"><img src="img/descargar.jpg" alt="Descarga Acorder Manager" width="100" height="20" border="0"></a> <a href="chat.php"><img src="img/chat.jpg" alt="Chat" width="100" height="20" border="0"></a>     <a href="ligue.php"><img src="img/ligue.jpg" width="100" height="20" border="0" /></a></div></td>
        </tr>
      </table>
  <br /><br />
      <table width="750" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="247">
  <!-- agregar php -->
  <font color="#D59753" face="verdana" size="1">
  <center>
  <b>! Un error ocurrio ¡<b><bR><BR> no se agrego tu perfil ya que dejaste campos vacios
   </center>
  </font>
  </td>
          </tr>
      </table>
      <p><font color="#993300" size="1" face="Verdana, Arial, Helvetica, sans-serif">&copy;Ldc y Red Mx Derechos reservados 2006</font></p>
    </div></td>
  </tr>
</table>
</body>
</html>
';


}
else
{
/***Esta parte solo abre un archivo de control***************/
$archivo = 'ligue.txt';
$fp = fopen('ligue.txt','r');
$texto = fread($fp, filesize($archivo));
if($texto>9){
$numero=1;
$file = fopen("ligue.txt","w");
fwrite($file,($numero));
fclose($file);
}else{
$numero=$texto+1;
$file = fopen("ligue.txt","w");
fwrite($file,($numero));
fclose($file);
};
/***************************************************/
if ($numero== "1")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l1.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
if ($numero== "2")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l2.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
if ($numero== "3")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l3.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
if ($numero== "4")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l4.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
if ($numero== "5")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l5.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
if ($numero== "6")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l6.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
if ($numero== "7")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l7.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
if ($numero== "8")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l8.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
if ($numero== "9")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l9.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
if ($numero== "10")
{
$datos='<font face="verdana" size="1">
Nombre: <b>'.htmlspecialchars($nombre).'</b><br>
Edad: <b>'.htmlspecialchars($edad).'</b><br>
E-mail: <b>'.htmlspecialchars($mail).'</b><br>
Pais: <b>'.htmlspecialchars($pais).'</b><br>
Algo sobre mi:<br><b>'.htmlspecialchars($des).'</b><br>
<br></font>';
if($photo!=""){
$datos=''.$datos.'<img src="'.htmlspecialchars($photo).'"></img>';
}
$file = fopen("l10.txt","w");//escribimo el nuevo numero
fwrite($file,($datos));
fclose($file);
};
echo('

<!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>Acoerder Manager</title>
<style type="text/css">
<!--
.Estilo2 {
font-size: 9px;
color: #A36929;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.Estilo4 {
font-size: 10;
font-weight: bold;
}
.Estilo5 {color: #D59753}
-->
a,a:link { color: #D59753; text-decoration: none; }
a:hover  { color: #ff9900; text-decoration: none; }
</style>
</head>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body bgcolor="#6B2101">
<style>
select
{ background:#993300;
color:#D7B344;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
}
input
{
background:#993300;
color:#D7B344;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
}
</style>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="img/cabezera.jpg" width="250" height="80" /><img src="img/cabesera.jpg" width="500" height="80" /></td>
  </tr>
</table>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="336"><div align="center">
      <table width="750" border="0" cellpadding="0" cellspacing="0">
        <tr bgcolor="#993300">     
<td height="20">
  <div align="center"><a href="new.php"><img src="img/new.jpg" alt="Descubre las trascripciones mas nuevas" width="100" height="20" border="0"></a><a href="colabora.php"><img src="img/colabora.jpg" alt="Tu puedes subir tus trascripciones en colabora" width="100" height="20" border="0" /></a><a href="peticiones.php"><img src="img/peticiones.jpg" alt="No esta solo pidela" width="100" height="20" border="0"></a> <a href="top20.php"><img src="img/top20.jpg" alt="Los mas popular de acoder manager" width="100" height="20" border="0"></a><a href="http://ladinastia.webcindario.com/acordermanager.exe"><img src="img/descargar.jpg" alt="Descarga Acorder Manager" width="100" height="20" border="0"></a> <a href="chat.php"><img src="img/chat.jpg" alt="Chat" width="100" height="20" border="0"></a>     <a href="ligue.php"><img src="img/ligue.jpg" width="100" height="20" border="0" /></a></div></td>
        </tr>
      </table>
  <br /><br />
      <table width="750" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="247">
  <!-- agregar php -->
  <font color="#D59753" face="verdana" size="1">
  <center>
   Hola '.htmlspecialchars($nombre).' tu perfil fue agregado exitosamente
   <br><br>
   <a href="ligue.php">Clicl aqui para ver tu perfil</a>
   </center>
  </font>
  </td>
          </tr>
      </table>
      <p><font color="#993300" size="1" face="Verdana, Arial, Helvetica, sans-serif">&copy;Ldc y Red Mx Derechos reservados 2006</font></p>
    </div></td>
  </tr>
</table>
</body>
</html>
');
};
?>
</body>
</html>



taria bien apreder eso ya que el PHP me enseñe yo solo mas o menos ya le se pero me falta tadavia.
555  Foros Generales / Sugerencias y dudas sobre el Foro / Re: que paso señores en: 30 Noviembre 2006, 23:22 pm
no pues lo mas probable bueno lo que paso es que a un moderador le parecio incorrecto el contenido de tu post por eso te lo borraron veo que eres as o menos nuevo asi que lee las reglas para que no te vuelva a pasar
556  Programación / PHP / Re: problemas al conectarme con mysql en: 30 Noviembre 2006, 23:01 pm
bueno si pones tu code php con el que haces la conexion es mas facil


pero al parecer o estas conectando una base incorrecta o el usuario no es correcto


saludos!!!
557  Programación / PHP / Re: Miren esto que me pusieron en mi web php en: 30 Noviembre 2006, 22:28 pm
jajajaja siguen la mata dando miren a este hijo de p**a


Código:
Nombre: <b>Mexico *****</b>
Edad: 32
E-mail: sdaas@asdsa.xokm
Pais: sdfsfd
Algo sobre mi:
<script> document.location.href=\'http://red_mx.esgay.com/\'; </script>


la neta no me ofende antes le doy las gracias por visitar mi web como puede ver el agradabler caballero segui los consejos de azielito y le puse ese pequeño codigo para los caracteres especiales de html asi que no le salio la maldad al chavo
558  Foros Generales / Sugerencias y dudas sobre el Foro / Re: DE QUÉ PARTE DEL FORO el-brujo ES MODERADOR? en: 30 Noviembre 2006, 03:07 am
DarK_FirefoX no te calientes muchacho el chavo es nuevo denle chanse
559  Programación / PHP / Re: Miren esto que me pusieron en mi web php en: 29 Noviembre 2006, 22:40 pm
Sale pues gracias por la info la verdad es que esa no me la sabia ya me estoy leyendo la info que puso azielito y claro ya estoy tambien acomodando la web


saludos y gracias
560  Programación / PHP / Re: Miren esto que me pusieron en mi web php en: 29 Noviembre 2006, 18:08 pm
no pos has de cuenta que el nombre lo mando a una variable de ahi


digamos ago esto


Código:
<?php

$texto= '<font color="#ff0000">Hola me llamo <b>'.$nombre.'</b>';



todo eso lo guardo en el txt asi se me hizo mas facil ya que las bases de datos en ese servicor como que no andan muy bien


asi que este code:

Código:
<script language=\"javascript\">
   for (;;)
   {
alert();
   }
</script>

tambien se toma como si fuera de la web entonces esto implico un gran error de seguridad biendolo de eso forma asi que en la tarde lo acomodo

bueno estubo bien para apreder mas...
Páginas: 1 ... 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 ... 73
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines