Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/03/2006, 10:59
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Probé tu codigo y funciona, esta fue mi prueba:

Código PHP:
<?php
   $startingpoint 
"<!--inicioimpresion-->";
   
$endingpoint "<!--finimpresion-->";
   
$value="<!--inicioimpresion-->Hola Mundo<!--finimpresion-->";
   
$startstrpos($value"$startingpoint");
   
$finishstrpos($value"$endingpoint");
   
$length$finish-$start;
   
$value=substr($value$start$length);
   echo 
$value;
?>