Ver Mensaje Individual
  #6 (permalink)  
Antiguo 23/08/2010, 08:28
Avatar de memoadian
memoadian
Colaborador
 
Fecha de Ingreso: junio-2009
Ubicación: <?php echo 'México'?>
Mensajes: 3.696
Antigüedad: 14 años, 10 meses
Puntos: 641
Respuesta: leer etiqueta <title>

y ya te dije como hacerlo

ejemplo

Código PHP:
Ver original
  1. $web = file_get_contents($reg['url']);
  2. $parser='|<title>(.*?)</title>|is';
  3.  
  4. $title = '';
  5. if (preg_match($parser, $web, $title1))
  6. {
  7.   $title = $title1[1];
  8. }