Jump to content

alvaroxz

Warianos
  • Posts

    354
  • Joined

  • Last visited

Everything posted by alvaroxz

  1. No es lo mas llamativo de la tierra pero es MU WENO este es un libro de visitas no guarda los comentarios en base de datos, si no que en un archivo .txt bajate esto luego lo extraes con winrar y lo colocas en tu carpeta donde este el contenido de tu pag vamos a que cosas hacer: hay un archivo que se llama color uds coloquen hay BOX-COLOR = "#FFFFFF" <---color de la caja o tabla BODY-COLOER = "#FF0000" <--- color de fondo FONT-COLOER = "#000000" <---- color de la letra creo que es en hexadecimal obligatorio, aqui tienen una pag para saber que color quieren para c/cosa en haxadecimal una vez editado eso ya esta listo PD: Al principio les va a salir unos errores, eso es por que el archivo gb, que es donde van los comentarios estan vacios. al agregar el primer comentario ya estaria funcionando 100% bien PD2: 200 msj xD
  2. ya que muchos han pedido como hacer un local server (servidor local[que tu pc sea el server de tu pagina]) aca les dejo un minitutorial ----- S T A R T ----- 1) Bajate este Programa 2) Haces doble click a lo bajado, cuando empieza la descarga hagan 2 next seguidos sin cambiar NADA 3) Luego de esos 2 Nexts van a ver que hay 3 servicios que no se instalaran (no clickeados). UDS cliqueenlos los 3 (Apache service, Mysql service, Filezilla service) 4) Luego de eso se te instalara.... 5) Una vez instalado vamos a la siguente cadena de carpetas C:\Archivos de programa\xampp\htdocs 6) Ahi hay unos archivos, Eliminalos TODOS 7) En la misma cadena donde eliminaste esos archivos colocas tu contenido web 8) El siguente paso es para el Firewall de win xp: Anda a Panel de control y pones "cambiar a vista clasica" (arriba a la izquierda) 9) Busca el icono de Firewall y lo dejas Activado y sin el check la opcion "No permitir exepciones" 10) Vamos a la Ficha de arriba Exepciones y agregas el Programa XAAMP 11) ¿Como la Gente entra a tu paginiririjilla? http://tu-ip ----- F I N I S H ----- ESPERO QUE LES SIRVA PD: si el link del programa esta malo me avizan PD2: si no les resulto avizan y si les resulto avizen tb PD3: para los que cachan de este tema si me falto algo me dicen
  3. jja gracias magno 60 visitas y ningun post?? por ultimo que si sirve o no la cosa
  4. Creen un block de notas con el nombre de cargar_bytes y extencion php con este codigo: <? print str_repeat("i",1024000); ?> Creen un block de notas con el nombre de test y extencion php con este codigo: <? set_time_limit(0); $tiempo_micro[1]= microtime(); $q_espacios = explode(" ",$tiempo_micro[1]); $tiempo_[1]= $q_espacios[1]+$q_espacios[0]; $contenido=file_get_contents('URL DE DONDE DEJARON CARGAR_BYTES.PHP'); $tamano_KB= strlen($contenido)/1024; $tiempo_micro[2] = microtime(); $q_espacios= explode(" ",$tiempo_micro[2]); $tiempo_[2] =$q_espacios[1] + $q_espacios[0]; $tiempo_utilizado = number_format(($tiempo_[2] - $tiempo_[1]),3, "." ,","); $velocidad= round($tamano_KB/$tiempo_utilizado,2); echo ' <font color="silver" size="4">Su velocidad de conexión aproximadamente: </font><font color="red" size="5">'.$velocidad.'</font><font color="silver" size="4">Kbps</font> <----Arreglen los colores para mejor adecuacion a la pagina <br> <br><br> <font color="silver" size="4">Se enviarón:'.$tamano_KB.' Kb, Tiempo utilizado: </font><font color="red" size="5">'.$tiempo_utilizado.'</font> <font color="silver" size="4">Segundos</font><hr>'; <----Arreglen los colores para mejor adecuacion a la pagina for ($i=10; $i>=1; $i--){ $val_Kb=$i*100; if($velocidad>=800)$velocidad_=800; else $velocidad_=$velocidad/2; if($velocidad>=$val_Kb and !$col){ echo '<img width="'.($velocidad_).'" height="6" style="background-color: #FF0000" border="0"><strong> Su conexión</strong><br><br>'; $col=true; } echo ' <table><img width="'.($val_Kb/2).'" height="6" style="background-color: #000099" border="0"> '.($val_Kb).' Kbps<br><br></table>'; } ?> y listo su test de conexion con un atractivo esquema :ROLF:
  5. que bueno que les gusta uiii y mi post es topisimo :D jaja sigan postiano para que se pueda wariar este tremendo truco :D
  6. que bueno que les guste y les funcione jeje sigan postiando para que no se pierda este magnifíco truco :D
  7. Aburrido de que todos te ganen en juegos? ganales a todos con esta po jeje aca un truco WeNiSiMo: 1)inicio-->ejecutar colocas: Pinball 2)luego aceptar 3)con la ventana abierta de pinball coloca "hidden test"(sin las comillas), asi al aire en ninguna ventana de texto ni nada asi no mas. 4)luego arrastra la pelota como cuando arrastras las carpetas. con el click apretado es muy weno jeje weno, ese mi aporte xD PD: si ya estaba sorry :(
  8. no, no es php, pero es un script hecho y al 100% funcionante asique lo coloque aqui me parecio correcto, si esta mal muevanlo :( no me fue mi intencion colocarlo en un mal lugar
  9. voy a pasar a agradecer si me funciona :bajando: :bajando:
  10. haga inicio ejecutar---> y escriba en la barrita de texto "notepad" se abrira un block de notas en el block de notas coloque este script: <!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> <title>DHTMLPong</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <BR><BR> <BR><BR> <style type="text/css"> #pongTable { position: absolute; top: 20px; left: 20px; width: 400px; height: 300px; border: 4px solid #CCC; background-color: #FF0000; z-index: 1; } #playerOne { position: absolute; top: 196px; left: 45px; width: 10px; height: 35px; background-color: #777; z-index: 2; } #playerTwo { position: absolute; top: 196px; left: 390px; width: 10px; height: 35px; background-color: #777; z-index: 2; } #ball { position: absolute; top: 160px; left: 210px; width: 7px; height: 7px; clip: rect(0px 7px 7px 0px); background-color: #555; z-index: 2; display: none; } #click { position: absolute; top: 160px; left: 27px; width: 400px; text-align: center; font-family: Tahoma; font-size: 10px; z-index: 3; } #scores { position: absolute; top: 330px; left: 24px; width: 400px; font-family: Tahoma; font-size: 11px; z-index: 3; } </style> <script type="text/javascript"> var ballAng; var speed = 3; var ping = 5; var pong = 0; var mouseSpeed; var tempY; function init() { document.getElementById("click").style.display = "none"; document.getElementById("ball").style.display = "inline"; with( document.getElementById("ball").style ) { top = "160px"; left = "210px"; } document.onmouseup = null; document.onmousemove = movePaddle; ballAng = Math.round( Math.random() * 100 ) + 130; moveDaBall = setInterval("moveBall()", 10); } function movePaddle(e) { e = (e)?e:event; if( tempY ) { mouseSpeed = Math.round((e.clientY - tempY) * 1.5); if( mouseSpeed == 0 ) mouseSpeed = 1; } with( document.getElementById("playerOne").style ) { top = e.clientY - 18 + "px"; if( parseInt(top) < 24 || parseInt(top) > 289 ) { if( parseInt(top) < 24 ) { top = "24px"; } else { top = "289px"; } } } tempY = e.clientY; } function moveBall() { var ballX = parseInt(document.getElementById("ball").style.left); var ballY = parseInt(document.getElementById("ball").style.top); var playOneX = parseInt( document.getElementById("playerOne").style.left ); var playOneY = parseInt( document.getElementById("playerOne").style.top ); var playTwoX = parseInt( document.getElementById("playerTwo").style.left ); var playTwoY = parseInt( document.getElementById("playerTwo").style.top ); if( ballY >= (playOneY - 5) && ballY <= (playOneY + 35 + 5) && ballX >= playOneX && ballX <= (playOneX + 10) ) { if( pong == 3 ) { ping++; pong = 0; } else { pong++; } document.getElementById("ball").style.left = playOneX + 10 + "px"; ballAng = 180 - ballAng - mouseSpeed; } if( ballY >= (playTwoY - 5) && ballY <= (playTwoY + 35 + 5) && ballX >= playTwoX && ballX <= (playTwoX + 10) ) { if( pong == 3 ) { ping++; pong = 0; } else { pong++; } document.getElementById("ball").style.left = playTwoX + "px"; ballAng = 180 - ballAng; } if( ballY < 25 || ballY > 316 ) { document.getElementById("ball").style.top = (ballY < 25)?25+"px":316+"px"; ballAng = 360 - ballAng; } if( ballX <= 24 || ballX >= 417 ) { document.getElementById("ball").style.left = (ballX <=24)?24+"px":417+"px"; if( ballX<= 24 ) { endPoint(document.getElementById("twoScore")); } else { endPoint(document.getElementById("oneScore")); } } moveAI( ballY ); moveObjAtAngle( document.getElementById("ball"), ballAng, ping); } function moveObjAtAngle( obj, ang, dist ) { with( obj.style ) { left = parseInt(left) + ( dist * Math.cos( ang * (Math.PI/180) ) ) + "px"; top = parseInt(top) - ( dist * Math.sin( ang * (Math.PI/180) ) ) + "px"; } } function moveAI( y ) { var AI = document.getElementById("playerTwo"); y = y - 10; y = parseInt(AI.style.top) + ((y - parseInt(AI.style.top)) / speed); if( y < 24 || y > 289 ) { if( y < 24 ) { y = 24; } else { y = 289; } } AI.style.top = y +"px"; } function endPoint(place) { clearInterval(moveDaBall); ping = 7; pong = 0; document.onmouseup = init; document.getElementById("click").innerHTML = "Click Para Continuar"; place.innerHTML = parseInt(place.innerHTML) + 1; if( parseInt(place.innerHTML) == 10 ) { if( place.id == "oneScore" ) { endGame(1); } else { endGame(0); } } document.getElementById("click").style.display = "inline"; } function endGame(win) { document.onmouseup = restartGame; if( win ) { document.getElementById("click").innerHTML = "<strong>Ganaste!</strong><br /> click para reiniciar"; } else { document.getElementById("click").innerHTML = "<strong>Te Bañastes</strong><br /> click para reiniciar"; } } function restartGame() { document.getElementById("oneScore").innerHTML = 0; document.getElementById("twoScore").innerHTML = 0; init(); } document.onmouseup = init; </script> </head> <body> <div id="pongTable"> <div style="float: right; width: 50%; height: 100%; border-left: 2px dashed #DDD;"> </div> </div> <div id="playerOne" style="left: 45px; top: 146px"> </div> <div id="playerTwo" style="left: 390px; top: 146px"> </div> <div id="ball" style="left: 210px; top: 160px"> </div> <div id="click">Click Para Continuar</div> <div id="scores"> <span style="float: left;" id="oneScore">0</span> <span style="float: right;" id="twoScore">0</span> </div> </body> </html> guarde y cierre con el nombre de pong.htm y listo tiene su propio pong :banana:
  11. que pongo el login poruqe me pide el pass y el login para descargar en premium pues! plz soy fanatico de les luthier!
×
×
  • Create New...