[PHP] How to save something in a Java Applet as an IMAGE file?

2001-02-05 Thread Winnie

hi,

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?

thanks!
winnie


---
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-02-05 Thread Winnie

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"" [EMAIL PROTECTED] wrote in message
001701c08f83$2caf7d40$0c81@philsntserver">news:001701c08f83$2caf7d40$0c81@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?12111020

 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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]