
10/07/2002, 09:49
|
 | Colaborador | | Fecha de Ingreso: noviembre-2001 Ubicación: 127.0.0.1
Mensajes: 3.499
Antigüedad: 23 años, 4 meses Puntos: 69 | |
Re: Conseguir el <title> de un fichero html (Cuidado que estoy tirando código al boleo!!!)
Creo que podria ser algo asi :
<?php
$html = <<<HTML
<html>
<head><title>
Holas Samigos!! Soy Quintín
</title>
</head>
<body></body>
</html>
HTML;
eregi("<title>(.*)</title>", $html, $titulo);
echo $titulo[1];
?>
Faltaría que alguien lo pruebe.
<hr><font size=2 face="verdana">- Pablo Daniel Rigazzi (Webstudio)
<font size=1 color="#333333">COORDINADOR PROYECTO REGIONALIZACION ARGENTINA
Visita <a href="http://www.web-studio.com.ar" target="_blank">Web Studio</a> - Tutoriales Photoshop</fo |