using php 4.3.11
i’ve uncommented out the [B]php_ming.dll[B]php.ini
[B]phpinfo
but the following test script error’s with this message:
“[B]Warning: Cannot modify header information – headers already sent by (output started at C:Program FilesApache GroupApache2roottestingphpflash2.php:9)
i’ve a couple of others scripts, which error also…
BAH! any advice? (i’ve tried searching, to not much luck)
[CODE]<?php
$mov=new SWFMovie();
$mov->setDimension(200,20);
$shape=new SWFShape();
$shape->setLeftFill($shape->addFill(0xff, 0, 0 ));
$shape->movePenTo(0,0);
$shape->drawLineTo(199,0);
$shape->drawLineTo(199,19);
$shape->drawLineTo(0,19);
$shape->drawLineTo(0,0);
$mov->add($shape);
header(‘Content-type: application/x-shockwave-flash’);
$mov->output();
?>