View Full Version : A little help please with this code.

03-06-2003, 09:13 PM

I want to have something like this, http://www.webhostingforums.net/help.htm

I just made this as an example i know it wont work but thats what i want , i want it to let people browse for a ZIP file and when they click SEND it will send the file to my mail box.

the browse button on that page is totaly wrong, well to be honest i dont think anything is write,

this is that code from that page

<form name="form1" method="post" action="">
<p>Email address:
<input type="text" name="Email">
<p> Zip File:
<input type="text" name="Zip File">
<input type="submit" name="Browse" value="Browse">
<input type="submit" name="Submit2" value="Send">
<input type="reset" name="Submit3" value="Reset">

If anyone can help me i would be greatful.

I will be using PHP formmail to send it to my mail box. well i hope i will be able to if i wont be able to please let me know


03-06-2003, 09:57 PM
herm... methinks you use <input type="file" name="the_zip_file">... and you'd have to make sure that formmail is capable of handling that.

in the <form> tag you put ENCTYPE="multipart/form-data" umm.... and then if your form processor knows what to do with that it should be able to email it... i think it can be emailed anyways... maybe someone who's done this before will click the post reply button...

03-07-2003, 10:04 PM

anyone else have any ideas ?

03-07-2003, 10:33 PM
maybe in PHP or CGI , ??

03-08-2003, 12:05 AM
sure. :)

goto www.hotscripts.com (http://www.hotscripts.com)

You'll find what you're looking for. I'd suggest the PHP solutions. PHP rules.

03-08-2003, 03:47 PM
looked there couldnt find what i needed

is there a name for the script?

i'll try a new search

03-08-2003, 06:30 PM
Sure here you go. I found you the link to the actual page of file uploader scripts.


03-08-2003, 08:32 PM
I dont think any of them would let up upload a file and e-mail . like a mail box does.