ming

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amitshetye
Forum Newbie
Posts: 12
Joined: Thu Dec 01, 2005 12:00 am

ming

Post by amitshetye »

hi all,

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();
?>
but it is giving me the following error :

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
saumya
Forum Contributor
Posts: 193
Joined: Sun Jan 30, 2005 10:21 pm

Post by saumya »

Code: Select all

phpinfo();
through that you will know what are the libraries installed and active to use.
Post Reply