At 17:47 11.03.2003, James Holden said: --------------------[snip]-------------------- >READ the manual. > >The snippet is correct but if you want to take advantage of the saving >features of this function follow the function information at the top of >the page. Jumping straight to the user snippets is a mistake as they >are user contributed and may not document the whole function. > >int imagejpeg ( resource image [, string filename [, int quality]]) > > >imagejpeg($im,'myfile.jpg',80); --------------------[snip]--------------------
This will save the image at the server - he wants the browser to present the "Save As" dialog... -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php