i had written one code for converting the image to swf, the code is as follows..
Code: Select all
<?php
$m = new SWFMovie();
$m->setDimension(640, 480);
$m->add(new SWFBitmap(fopen("black.jpg", "rb")));
header('Content-type: application/x-shockwave-flash');
$m->output();
?>Fatal error: Cannot instantiate non-existent class: swfmovie
so what should i do??
and how to chek whether the ming is active or not?? and which version of php does support the ming??
regards
amit