General discussion

Locked

Adding A zip file To a form

By wantobinaz ·
Anyone know of any script or program that can add a preferable a winzip file to a form. Or even just the ability to a add pictures to a form to be sent to an email address

Thanks
Matt Pascaris
WantobinAZ@aol.com

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Adding A zip file To a form

by smn In reply to Adding A zip file To a fo ...

here goes:

<form action="whatever.cgi" method="post" enctype="multipart/form-data">
<input type=file name="upfile">
<input type=submit>
</form>

of course the cgi will need to extract the file (and verify it's in the proper
format, etc.etc.) on the server side... that should be fairly straightforward,
though.

Collapse -

Adding A zip file To a form

by wantobinaz In reply to Adding A zip file To a fo ...

I didn't corectly adress waht I needed I needed something on the server side

Collapse -

Adding A zip file To a form

by king In reply to Adding A zip file To a fo ...

You can save this html as html file and open it with your browser (mine is Netscape 4.xx). It should work exactly as you wish.

<html>
<form action="mailto:yourmail@yourdomain.com" method="post" enctype="multipart/form-data"> <input type=file name="upfile">
<input type=submit>
</form>
</html>

Collapse -

Adding A zip file To a form

by wantobinaz In reply to Adding A zip file To a fo ...

I needed something more for the server side

Back to Web Development Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums