# Export JPEG with Flash/PHP Help

**URL:** https://forum.kirupa.com/t/export-jpeg-with-flash-php-help/168001
**Category:** flash
**Created:** [November 3, 2005, 1:37am UTC](https://forum.kirupa.com/t/export-jpeg-with-flash-php-help/168001 "2005-11-03T01:37:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kryz2per](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@kryz2per](https://forum.kirupa.com/u/kryz2per)
#### Post date: [November 3, 2005, 1:37am UTC](https://forum.kirupa.com/t/export-jpeg-with-flash-php-help/168001/1 "2005-11-03T01:37:17Z")

</div>

Hi guys,

I have downloaded the source file for the Export JPEG with Flash/PHP sample from [[color=#800080]http://www.sephiroth.it/tutorials/flashPHP/print\_screen/[/color]](http://www.sephiroth.it/tutorials/flashPHP/print_screen/) . What this script does is it lets you print the flash screen you have using the new flash.display.BitmapData class.

I was able to run it on my server however I also want to be able to save the jpg image that it generates on a folder on my server. What I did is I added a an image file name in the imagejpeg() function

_imagejpeg($img, “filename.jpg”, 90);_

The image is being saved on my server however, now the image is not being displayed on the browser. Both on IE and Firefox.

I hope someone has the answer on this.

Thanks,  
Chris
