Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Mensajes - Wold

Páginas: 1 2 [3] 4 5 ... 10
31
JavaScript / Re:POPUP
« en: 03 de Octubre de 2012, 04:07:46 am »

32
JavaScript / POPUP
« en: 03 de Octubre de 2012, 03:43:19 am »
Buenas PHPER@S!

Estoi buscando un script de un popup que cuando cliques un enlace se abra un popup en medio de la ventana y la web se ponga oscura! encontre uno y en la demo muy bien pero lo implanto en mi web y no funciona xD aver si alguein sabe de alguno! gracias y sorry por las molestias

33
CSS / Re:Help! nuevo con css xD
« en: 03 de Octubre de 2012, 00:29:56 am »
Buenas yo antes maquetaba con tablas hace muchos años cuando me movía x aquí ahora he vuelto y he visto lo de maquetar con css y div bueno pues me puesto manos a la obra y no se por que mi web no se ve bien haber si alguien que entiende me puede ayudar

Código: [Seleccionar]
<!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>Mavic - Carpinteria </title>
<style type="text/css">
.centro{
text-align: center;
width: 881px;
    height: 600px ;
background-image: url(img/fondoweb.png);
    margin-left: 250px;
}
.centro2{
width:728px;
padding-top: 150px;

}
.centroiframe{
width:728px;
height: 348px ;
}
.centrocopy{
width:728px;
padding-top: 50px;
}
.letramenu{
font-family: Arial;
font-size: 12px;
color: #333333;
}
.copyletra{
font-family: Arial;
font-size: 12px;
color: #FFFFFF;
}
</style>
</head>
<body>
<div class="web1" id="centro">
<div class="web2" id="centro2"><table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
                <th class="Estilo2" scope="col"><span class="letramenu">Inicio</span></th>
                <th class="Estilo2" scope="col"><span class="letramenu">Quienes somos </span></th>
                <th class="Estilo2" scope="col"><span class="letramenu">Trabajos Realizados </span></th>
                <th class="Estilo2" scope="col"><span class="letramenu">Contacto</span></th>
            </table>
</div>
<div class="web3" id="centroiframe"><iframe src="principal.html" name="iframeweb"
      width="727" height="348" scrolling="auto" frameborder="0">
    </iframe></div>
<div class="web2" id="centrocopy"><span class="copyletra">Copyright © 2012 - Todos Los Derechos Reservados.</span></div>
</div>

http://zuriguel.com/azuriguel/newmav/test.html --> Con div y css
http://zuriguel.com/azuriguel/newmav/  --> con tablas

el de div y css no me furula xD y nose xk :s


Solucionado era que el css del container
Código: [Seleccionar]
.centro empezaba con . y es con # en un container
Código: [Seleccionar]
#centro

34
CSS / Help! nuevo con css xD
« en: 02 de Octubre de 2012, 23:15:24 pm »
Buenas yo antes maquetaba con tablas hace muchos años cuando me movía x aquí ahora he vuelto y he visto lo de maquetar con css y div bueno pues me puesto manos a la obra y no se por que mi web no se ve bien haber si alguien que entiende me puede ayudar

Código: [Seleccionar]
<!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>Mavic - Carpinteria </title>
<style type="text/css">
.centro{
text-align: center;
width: 881px;
    height: 600px ;
background-image: url(img/fondoweb.png);
    margin-left: 250px;
}
.centro2{
width:728px;
padding-top: 150px;

}
.centroiframe{
width:728px;
height: 348px ;
}
.centrocopy{
width:728px;
padding-top: 50px;
}
.letramenu{
font-family: Arial;
font-size: 12px;
color: #333333;
}
.copyletra{
font-family: Arial;
font-size: 12px;
color: #FFFFFF;
}
</style>
</head>
<body>
<div class="web1" id="centro">
<div class="web2" id="centro2"><table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
                <th class="Estilo2" scope="col"><span class="letramenu">Inicio</span></th>
                <th class="Estilo2" scope="col"><span class="letramenu">Quienes somos </span></th>
                <th class="Estilo2" scope="col"><span class="letramenu">Trabajos Realizados </span></th>
                <th class="Estilo2" scope="col"><span class="letramenu">Contacto</span></th>
            </table>
</div>
<div class="web3" id="centroiframe"><iframe src="principal.html" name="iframeweb"
      width="727" height="348" scrolling="auto" frameborder="0">
    </iframe></div>
<div class="web2" id="centrocopy"><span class="copyletra">Copyright © 2012 - Todos Los Derechos Reservados.</span></div>
</div>

http://zuriguel.com/azuriguel/newmav/test.html --> Con div y css
http://zuriguel.com/azuriguel/newmav/  --> con tablas

el de div y css no me furula xD y nose xk :s

35
PHP / Re:Error en un codigo
« en: 20 de Septiembre de 2012, 19:41:10 pm »
No me hagas mucho caso pero creo que no as seleccionado bien la tabla de la db en el config

<
Código: [Seleccionar]
?php
$db_host="localhost";
$db_name="nombre base de datos";
$username="user";
$password="password";
$db_con=mysql_connect($db_host,$username,$password);
$connection_string=mysql_select_db($db_name);
// Connection
mysql_connect($db_host,$username,$password);
mysql_select_db($db_name);
?>


Prueba este , vi un caso parecido al tuyo y resultaba ser que no estaba bien conectado

36
Tutoriales PHP / Re:Sistema de Noticias Simple - 2ª Parte
« en: 19 de Septiembre de 2012, 15:53:35 pm »
Error
Warning: Cannot modify header information - headers already sent by (output started at /srv/disk10/1149158/www/alexz.medianewsonline.com/panel.php:9) in /srv/disk10/1149158/www/alexz.medianewsonline.com/panel.php on line 36

if ($admin[0] == $_POST['user'] && $admin[1] == $_POST['pass']) {
setcookie("admin",$_POST['pass'],time()+3600); // En esta linea si pongo un  @setcookie Directamente ni va el formulario xD
   } else {
      exit("Datos erroneos, acceso denegado");


Creo que es el servidor!!

37
(X)HTML / Scrollbar [DUDA]
« en: 02 de Mayo de 2012, 09:00:30 am »
Buenas, quisiera saber algun codigo para poder cambiar la barra de desplazamiento del scrollbar de un iframe en mozilla, encontre en ie pero de mozilla nada

gracias

38
Recursos / PHotoshop cs5 help
« en: 26 de Abril de 2012, 18:36:31 pm »
Buenas quisiera saber si alguien tiene un link bueno para descargar el photoshop cs5 con keygen gracias!

39
Aplicaciones Pre-Fabricadas / Re: kNews - Sistema de noticias
« en: 10 de Septiembre de 2008, 22:01:58 pm »
Me sale un error


Warning
file_get_contents() [function.file-get-contents]: Unable to access emoticonos/emoti.xml in /home/virtual/sitio193790/www/noticias/trad.php on line 42

Warning
file_get_contents(emoticonos/emoti.xml) [function.file-get-contents]: failed to open streamNo such file or directory in /home/virtual/sitio193790/www/noticias/trad.php on line 42

Warning
file_get_contents() [function.file-get-contents]: Unable to access emoticonos//info.xml in /home/virtual/sitio193790/www/noticias/trad.php on line 44

Warningfile_get_contents(emoticonos//info.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/virtual/sitio193790/www/noticias/trad.php on line 44

Warningfile_get_contents() [function.file-get-contents]: Unable to access estilos/estilos.xml in /home/virtual/sitio193790/www/noticias/trad.php on line 85

Warning
file_get_contents(estilos/estilos.xml) [function.file-get-contents]: failed to open streamNo such file or directory in /home/virtual/sitio193790/www/noticias/trad.php on line 85

Warning
file_get_contents() [function.file-get-contents]: Unable to access estilos//info.xml in /home/virtual/sitio193790/www/noticias/trad.php on line 91

Warningfile_get_contents(estilos//info.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/virtual/sitio193790/www/noticias/trad.php on line 91

Warningfile_get_contents() [function.file-get-contents]: Unable to access estilos// in /home/virtual/sitio193790/www/noticias/mnews.php on line 111

Warningfile_get_contents(estilos//) [function.file-get-contents]: failed to open stream: No such file or directory in /home/virtual/sitio193790/www/noticias/mnews.php on line 111

Warningfile_get_contents() [function.file-get-contents]: Unable to access emoticonos/emoti.xml in /home/virtual/sitio193790/www/noticias/trad.php on line 42

Warning
file_get_contents(emoticonos/emoti.xml) [function.file-get-contents]: failed to open streamNo such file or directory in /home/virtual/sitio193790/www/noticias/trad.php on line 42

Warning
file_get_contents() [function.file-get-contents]: Unable to access emoticonos//info.xml in /home/virtual/sitio193790/www/noticias/trad.php on line 44

Warningfile_get_contents(emoticonos//info.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/virtual/sitio193790/www/noticias/trad.php on line 44

Warningfile_get_contents() [function.file-get-contents]: Unable to access estilos/estilos.xml in /home/virtual/sitio193790/www/noticias/trad.php on line 85

Warning
file_get_contents(estilos/estilos.xml) [function.file-get-contents]: failed to open streamNo such file or directory in /home/virtual/sitio193790/www/noticias/trad.php on line 85

Warning
file_get_contents() [function.file-get-contents]: Unable to access estilos//info.xml in /home/virtual/sitio193790/www/noticias/trad.php on line 91

Warningfile_get_contents(estilos//info.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/virtual/sitio193790/www/noticias/trad.php on line 91

Warningfile_get_contents() [function.file-get-contents]: Unable to access estilos// in /home/virtual/sitio193790/www/noticias/mnews.php on line 111

Warningfile_get_contents(estilos//) [function.file-get-contents]: failed to open stream: No such file or directory in /home/virtual/sitio193790/www/noticias/mnews.php on line 111
Noticias funcionando gracias a kNews.

40
PHP / Re: Problemilla tontoo
« en: 13 de Marzo de 2008, 23:07:44 pm »
ARREGLADO! QUE TONTO SOY Xd O0

41
PHP / Problemilla tontoo
« en: 13 de Marzo de 2008, 22:28:55 pm »
<?php          
@putenv("TZ=Europe/Paris");
$mail_destino=&#39;carlos.zuriguel@sossahara.org&#39;; 

//Aqui coloca el mensaje que quieres que aparesca como titulo del mail.
$titulo="Mensaje desde el formulario de contacto de tu web";

//********************************************
//Aqui no tienes que tocar nada
$msg="";
$email_form="";
$nombre_form="";
$mensaje_form="";
$mensaje_for1m="";
$mensaje_form2="";
$mensaje_form3="";
$mensaje_form4="";
$mensaje_form5="";
$mensaje_form6="";
$mensaje_form7="";
$mensaje_form8="";
$mensaje_form9="";
$mensaje_form10="";



if(isset(
$_POST[&#39;nombre&#39;])){
	

$email_form=$_POST[&#39;email&#39;];
$nombre_form=$_POST[&#39;nombre&#39;];
$mensaje_form=$_POST[&#39;mensaje&#39;];
$mensaje_form1=$_POST[&#39;mensaje1&#39;];
$mensaje_form2=$_POST[&#39;mensaje2&#39;];
$mensaje_form3=$_POST[&#39;mensaje3&#39;];
$mensaje_form4=$_POST[&#39;mensaje4&#39;];
$mensaje_form5=$_POST[&#39;mensaje5&#39;];
$mensaje_form6=$_POST[&#39;mensaje6&#39;];
$mensaje_form7=$_POST[&#39;mensaje7&#39;];
$mensaje_form8=$_POST[&#39;mensaje8&#39;];
$mensaje_form9=$_POST[&#39;mensaje9&#39;];
$mensaje_form10=$_POST[&#39;mensaje10&#39;];


/*Aqui verificamos si nos estan haciendo spam */
function verificar_spam($verificar) {
	
$msg="";
  
$palabras_prohibidas = array(
                
"content-type:"
                
,"mime-version:"
                
,"multipart/mixed"
	
	
            ,
"Content-Transfer-Encoding:"
                
,"bcc:"
	
	
            ,
"cc:"
	
	
            ,
"to:"   );
  
  foreach(
$palabras_prohibidas as $palabra) {
    if(
eregi($palabrastrtolower($verificar))) {
      
$msg.= "Se encontro una palabra prohibida <b><u>$palabra</u></b> en el nombre o Email<br />";
    }
  }
  
   if(
preg_match("/(%0A|%0D|\\n+|\\r+)/i"$verificar) != 0) {
     
$msg.= "El nombre o Email no pude contener saltos de linea <br />";
   }
  return 
$msg;
}


$msg.=verificar_spam($email_form);
$msg.=verificar_spam($nombre_form);

/*Aqui termina la la verificacion de spam */

/*Aqui verificamos los campos del formulario */

if($email_form != "")
{
	
$email_form=trim($email_form);
  if (!
eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$"$email_form))
  
$msg.="Tu E-mail es invalido <br />";
}else
 
$msg.="Tu e-mail es obligatorio <br />";

if(
$nombre_form != ""){
	
$nombre_form=trim($nombre_form);
	
if(!
preg_match("/^[\w\s_]+$/",$nombre_form))
	
$msg.="El nombre no es valido <br />";
}else
$msg.="Tu nombre es obligatorio <br />";

if(
$mensaje_form == "")
	
$msg.="El mensaje es obligatorio <br />";


if(
$msg == ""){
 
$headers  "MIME-Version: 1.0\r\n"
 
$headers .= "From: ".$email_form."\n"
 
$headers .= "To: ".$mail_destino."\n"
 
$headers .= "Reply-To: ".$email_form."\n";
 
$headers .= "Return-Path: ".$email_form."\n";
 
$headers .= "X-Priority: 1\n"
 
$headers .= "X-Mailer:PHP ".phpversion()."\n";
 
$headers .= "Content-Type: text/plain; charset=iso-8859-1";
 
$contenido="Te han enviado un mensaje ".$nombre_form." desde el formulario de contacto de tu web \r\n";
 
$contenido.="Nombre: ".$nombre_form."\r\n";
 
$contenido.="Email: ".$email_form."\r\n";
 
$contenido.="Opcion1: ".$mensaje_form1."\r\n";
 
$contenido.="Opcion2: ".$mensaje_form2."\r\n"
 
$contenido.="Opcion3: ".$mensaje_form3."\r\n"
 
$contenido.="Opcion4: ".$mensaje_form4."\r\n"
 
$contenido.="Opcion5: ".$mensaje_form5."\r\n"
 
$contenido.="Opcion6: ".$mensaje_form6."\r\n"
 
$contenido.="Opcion7: ".$mensaje_form7."\r\n"
 
$contenido.="Opcion8: ".$mensaje_form8."\r\n"
 
$contenido.="Opcion9: ".$mensaje_form9."\r\n"
 
$contenido.="Opcion9: ".$mensaje_form8."\r\n"
 
$contenido.="Opcion9: ".$mensaje_form9."\r\n"
 
$contenido.="Opcion10: ".$mensaje_form10."\r\n"
 
 
if(mail($mail_destino$titulo$contenido$headers))
 {
 
header("location:".$_SERVER[&#39;PHP_SELF&#39;]."?ok=ok");
 
 
}
 else 
 
$msg.="Ocurrio un error al enviar el mensaje";
 
}

}
if(isset(
$_GET[&#39;ok&#39;])) $msg="El mensaje se ha enviado correctamente";
	

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Formulario Contacto </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
.texto{color:#42606C;font-weight:bold;font-family: Geneva, Arial, Helvetica, sans-serif;}
body td,form {font-family:verdana;font-size:11px;color:#535353;}
form input,textarea{margin-bottom:4px;font-size:11px;background-color:#F0F0F0;border:1px solid #C0C0C0;}
.boton {color:#FFFFFF;height:20px;width:55px;border:1px solid #698B9A;background-color:#8BA6B1;font-size:11px;font-weight:bold;}
</style>
	

</head>
<body>
<table cellspacing=&#39;2&#39; cellpadding=&#39;2&#39;>
	
<tr>
	
	
<td width="235">
	
	
	
<!-- Formulario de contacto creado por VictorCL , descargatelo en www.victorcl.com -->
	
	
	
<span style=&#39;font-size:11px;font-weight:bold;color:#F20000;&#39;><?php echo $msg?></span>
	
	
</td>
	
</tr>
	
<tr>
	
 <td>
<form action="<?php echo $_SERVER[&#39;PHP_SELF&#39;]?>" method=&#39;post&#39;>
  <p><span class=&#39;texto&#39;>* Nombre:</span>
    <input type=&#39;text&#39; name=&#39;nombre&#39; size=&#39;28&#39; value="<?php echo $nombre_form;?>"/>
    <br />
    <br />
      <span class=&#39;texto&#39;>* Tu email:</span>
      <input type=&#39;text&#39; name=&#39;email&#39; size=&#39;28&#39; value="<?php echo $email_form;?>" />
      <br />
      <br />
      <span class=&#39;texto&#39;>* Mensaje:</span>
      <input name="mensaje" type="text" value="<?php echo $mensaje_form;?>" size="27">
      <br />
      Nacionalidad
      <input name="mensaje9" type="text" value="<?php echo $mensaje_form;?>" size="27">
  </p>
  <p>Direcion
    <input name="mensaje2" type="text" value="<?php echo $mensaje_form;?>" size="27">
  </p>
  <p>Numero de Piso
    <input name="mensaje3" type="text" value="<?php echo $mensaje_form;?>" size="27">
  </p>
  <p>Codigo Postal
    <input name="mensaje4" type="text" value="<?php echo $mensaje_form;?>" size="27">
  </p>
  <p>Ciudad
    <input name="mensaje5" type="text" value="<?php echo $mensaje_form;?>" size="27">
  </p>
  <p>Provincia
    <input name="mensaje6" type="text" value="<?php echo $mensaje_form;?>" size="27">
  </p>
  <p>Pais
    <input name="mensaje7" type="text" value="<?php echo $mensaje_form;?>" size="27">
  </p>
  <p>Tel&eacute;fono
    <input name="mensaje8" type="text" value="<?php echo $mensaje_form;?>" size="27">
  </p>
  <p>Email:
    <input name="mensaje10" type="text" value="<?php echo $mensaje_form;?>" size="27">
  </p>
  <p>Profesi&oacute;n<br />
    <input type=&#39;submit&#39; value=&#39;Enviar&#39; class=&#39;boton&#39; />
  </p>
</form></td>
</tr>
</table>
</body>
</html>




Parse error: syntax error, unexpected T_IF in /mnt/web4/21/88/51542188/htdocs/contactocarlos.php on line 119

aver si me podeis ayudar xD que hace tiempo k no toco php

42
PHP / Re: Reparar Tabala DB
« en: 24 de Enero de 2008, 14:18:49 pm »
Weno el codigo no funciona sale todo bien pero la tabla sigue igual

43
Pixel Art / Re: Tuto Basico Pixel-Art
« en: 22 de Enero de 2008, 23:56:35 pm »
ese mueble lo hize yo

44
PHP / Re: Reparar Tabala DB
« en: 21 de Enero de 2008, 12:39:50 pm »
Weee Gracias Karma para todos! xD

45
PHP / unexpected T_STRING
« en: 19 de Enero de 2008, 14:30:01 pm »
<?php

$connection = mysql_connect("mysql1049.servage.net",
                            "f000",
                            "XXX");
mysql_select_db("f000", $connection);
$nombretabla = "foror882007";
if (mysql_query("REPAIR TABLE `".$nombretabla."`")) echo 'Tabla '$nombretabla' reparada con exito.. ZuRi te kiero..';
else exit("eee zuri! Ha ocurrido un error: ",mysql_error());
?>


Parse error: syntax error, unexpected T_STRING in /mounted-storage/home37a/sub002/sc29721-IDVS/www/1.php on line 20

Sabeis cual es el error?

Páginas: 1 2 [3] 4 5 ... 10