Page 1 of 1

Fetching images from Flash using PHP

Posted: Mon Oct 05, 2009 12:58 am
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.

Re: Fetching images from Flash using PHP

Posted: Mon Oct 05, 2009 4:34 pm
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