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
amitshetye
Forum Newbie
Posts: 12 Joined: Thu Dec 01, 2005 12:00 am
Post
by amitshetye » Mon Dec 05, 2005 12:48 am
hi all,
i want to convert the jpg's or gif's or bmp's to swf from the server dynamically.
is it possible??
anybody is having any idea??
regards
amit
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Mon Dec 05, 2005 2:27 am
amitshetye
Forum Newbie
Posts: 12 Joined: Thu Dec 01, 2005 12:00 am
Post
by amitshetye » Mon Dec 05, 2005 3:22 am
hi,
Sami
thanx for the reply
but i want to some code for that since i'm newbie to php.
onion2k
Jedi Mod
Posts: 5263 Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com
Post
by onion2k » Mon Dec 05, 2005 3:40 am
amitshetye wrote: but i want to some code for that since i'm newbie to php.
You'll be a newbie forever if you don't try writing code yourself.
Fortunately the guys who write Ming have created some examples for you to learn from:
http://ming.sourceforge.net/examples/ex ... e=jpegfill
amitshetye
Forum Newbie
Posts: 12 Joined: Thu Dec 01, 2005 12:00 am
Post
by amitshetye » Thu Dec 08, 2005 12:03 am
I'm trying to create the swf on the server using ming but it is giving me the following error:
Fatal error : Cannot instantiate non-existent class: swfshape
shiznatix
DevNet Master
Posts: 2745 Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:
Post
by shiznatix » Thu Dec 08, 2005 1:38 am
you are missing that class. you are probably forgetting to include the file that has that class in the file that you are calling
onion2k
Jedi Mod
Posts: 5263 Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com
Post
by onion2k » Thu Dec 08, 2005 3:49 am
You don't have the Ming extension installed.
amitshetye
Forum Newbie
Posts: 12 Joined: Thu Dec 01, 2005 12:00 am
Post
by amitshetye » Thu Dec 08, 2005 4:22 am
then what should i do please explain me briefly because i'm getting confused
help me........