Código PHP:
<?php
$url="http://www.mi-OTRA-web.com/index.asp";
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL,$url);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$page = trim(curl_exec($ch));
$pos1=strpos($page,'<marquee',$pos1);
$pos1=$pos1+120;
$pos2=strpos($page,"</marquee>",$pos1);
$contenido=substr($page,$pos1,$pos2-$pos1);
echo $contenido;
?>
Código PHP:
$pos1=strpos($page,'<marquee',$pos1);
$pos1=$pos1+120;
$pos2=strpos($page,"</marquee>",$pos1);
Código HTML:
<marquee id="marco" width="220" height="60" direction="up" scrolldelay="20" scrollamount="1" align="top" hspace="0"> <table width="220" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="center">Contenido 01</td> </tr> <tr> <td height="16"> </td> </tr> <tr> <td align="center">Contenido 02</td> </tr> </table> </marquee>
Acepto todas las sugerencias que tengan.
Saludos,
JOSODI