Fetching images from Flash using PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
pardeshi123
Forum Newbie
Posts: 1
Joined: Mon Oct 05, 2009 12:48 am

Fetching images from Flash using PHP

Post by pardeshi123 »

Hello All,

I am developing a module which fetches images from the user entered URL's. I have described the functionality below:
1) I will fetch the source code for page using CURL.
2) Parse that source code to get images.

However i am not able to grab the images displayed using flash player, is there any way in PHP to grab the images displayed using flash player.

Also i am wondering that is it possible to fetch images displayed using javascript?

Thanks,
P.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Fetching images from Flash using PHP

Post by josh »

First you would need to convert the .swf to .fla, I will not explain that here because it is controversial. Borderline black-hat. Once that is done you can use http://us2.php.net/ming

Or you could use the command line API of firefox, navigate to the URL and take a screenshot
Post Reply