Re: How to save something in a Java Applet as an IMAGE file?

From: Date: Mon, 05 Feb 2001 15:16:08 +0000
Subject: Re: How to save something in a Java Applet as an IMAGE file?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38247@lists.php.net to get a copy of this message
Hi Phil Thanks so much for your response, I did check out the site but the applet takes forever to load n a 56 k modem. Is it possible for me to take a look at this CGI program? If not, I would really appreciate a bit more detailed idea to POST the data to a PHP program. How to this in Java? Thanks! Winnie ""Phil Driscoll"" <phil@dialsolutions.co.uk> wrote in message news:001701c08f83$2caf7d40$0c800001@philsntserver... > >how can i do this? i have a java applet on my site which allows users to > >create their own drawings. i want to provide a "Email this to me" option, > >which will save the applet drawing and email it to the user. is there any > >way i can achieve this? > > We have a parametric CAD system which runs as a Java applet. To save > drawings, it can try to do a local save, so we have the option to 'Save via > server' in which case the applet POSTs the data to a cgi program on the web > server and opens up a new window to handle the response. The file can then > be saved from the web browser. > > Check out > > > http://www.dtonline.org/apps/object/app.exe?1&2&1&1&10&2&0 > > The cgi program is written in C, but an equivalent could be knocked up in > PHP in a few minutes. If you really need to email the drawing, then you > could get the PHP program to email the drawing as an attachment instead. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.230 / Virus Database: 111 - Release Date: 25-Jan-01

« previous php.general (#38247) next »