...

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



Fullwebservice
03-06-2003, 08:13 PM
Hi

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>
<p> Zip File:
<input type="text" name="Zip File">
<input type="submit" name="Browse" value="Browse">
</p>
<p>
<input type="submit" name="Submit2" value="Send">
<input type="reset" name="Submit3" value="Reset">
</p>
</form>



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


thanks.

redhead
03-06-2003, 08: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...

Fullwebservice
03-07-2003, 09:04 PM
thanks.


anyone else have any ideas ?

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

dreamingdigital
03-07-2003, 11:05 PM
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.

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

is there a name for the script?

i'll try a new search

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

http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Upload_Systems/

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum