Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/08/2008, 08:30
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 20 años, 4 meses
Puntos: 2135
Respuesta: insercion de imagen generada por script php en rtf

Hola ferquetzal,

No concretamente puedes hacer algo así:
Código PHP:
ob_start();
$fil='67';
require_once(
"../sources/graph/graphporcentaje.php");
$out=ob_get_clean();
$fh = fopen( "archivo.png", "w" );
fwrite( $fh, $out );
fclose( $fh );
$sect->addImage( "archivo.png" ); 
Saludos.