HTML - Html Formail Question (uploading A File)
Hi. Thanks in advance. I'm obviously still a beginner.
I'm looking to add an "upload file" section to a formail script I have setup. I don't need any of the security, and bells and whistles for now. I will take take care of that once I get this initially setup. I understand that I would use this code in the form fields; <p>File to upload: <input type="file" name="first_file" /></p> <p>File to upload: <input type="file" name="second_file" /></p> I just don't know what to put in the beginning of the script to match this upload code form field. Here's the code for the formail I have so far. HTML Code: <form method="POST" action="http://old-wizard.com/cgi-sys/FormMail.cgi" target="_top"> <INPUT TYPE="HIDDEN" NAME="recipient" VALUE="info@maybrookvending.com"> <INPUT TYPE="HIDDEN" NAME="subject" VALUE="WebSite Contact"> <INPUT TYPE="HIDDEN" NAME="redirect" VALUE="http://maybrookvending.com/thanks.htm"> <INPUT TYPE="HIDDEN" NAME="required" VALUE="email,email_confirm,your_name"> <INPUT TYPE="HIDDEN" name="sort" value="through,regarding,your_name,employees,phone,company_name,email,email_confirm,comments"> <TABLE BORDER="0" cellpadding="1" cellspacing="0" width="100%"> <TR><TD> Name:<br> </TD></TR><TR><TD> <INPUT TYPE="TEXT" NAME="your_name" SIZE="30" class="shadeform"><br> </TD></TR><TR><TD> Company:<br> </TD></TR><TR><TD> <INPUT TYPE="TEXT" NAME="company_name" SIZE="30" class="shadeform"><br> </TD></TR><TR><TD> Number of Employees:<br> </TD></TR><TR><TD> <INPUT TYPE="TEXT" NAME="employees" SIZE="30" class="shadeform"><br> </TD></TR><TR><TD> Phone:<br> </TD></TR><TR><TD> <INPUT TYPE="TEXT" NAME="phone" SIZE="30" class="shadeform"><br> </TD></TR><TR><TD> Email:<br> </TD></TR><TR><TD> <INPUT TYPE="TEXT" NAME="email" SIZE="30" class="shadeform"><br> </TD></TR><TR><TD> Please confirm your e-Mail:<br> </TD></TR><TR><TD> <INPUT TYPE="TEXT" NAME="email_confirm" SIZE="30" class="shadeform"><br> </TD></TR><TR><TD> <br> Contact regarding:<br> </TD></TR><TR><TD> <select name="regarding" class="dropdown"> <option selected value="None selected">Please Select One ----></option> <option value="Question about our website">Question about our website</option> <option value="Question about our services">Question about our services</option> <option value="Question about our products">Question about our products</option> </select><br> <br> </TD></TR><TR><TD> How did you find our website?<br> </TD></TR><TR><TD> <select name="through" class="dropdown"> <option selected value="None selected">Please Select One ----></option> <option value="Ask_Jeeves">Ask Jeeves</option> <option value="Excite">Excite</option> <option value="Google">Google</option> <option value="Hotbot">Hotbot</option> <option value="Infoseek">Infoseek</option> <option value="Lycos">Lycos</option> <option value="MSN">MSN</option> <option value="other">Other</option> </select><br> <br> </TD></TR><TR><TD> Comments and questions:<br> </TD></TR><TR><TD> <TEXTAREA NAME="comments" ROWS="9" COLS="35" class="textarea"></TEXTAREA> <br><br> <input type="submit" value="Submit" onMouseOver="this.className='buttonon-submit'" onMouseOut="this.className='button-submit'" class="button-submit"> <input type="reset" value="Clear" onMouseOver="this.className='buttonon-submit'" onMouseOut="this.className='button-submit'" class="button-submit"><br> </td></tr></table> </FORM> Similar TutorialsIs it possible to embed a file into a notepad html page (I am not online yet, as I am still learning) and have it open with a specified EXE program>? An example. Pretend I wrote a basic file (old school gwbasic, lets call it basic.bsc) and wanted to attach it just like a URL, so when I click on the words "A cool looking file", it would open the program. The problem is, the person i intended to view the file doesn't have the appropriate program. So, I have added the program to view the file into the folder in which the basic.bsc file was located. I know another text file would be <a href="basic.html"></a> Is there similar for my specified predicament? Hi I use an include to display an exteral html file in a div. If I strip the html file of all the header formatting, it displays fine. As soon as I add the header info, transitional info etc, it adds a couple of blank line breaks to the top of the text dsiplayed in the external div. here's the link:www.mcbub.com How do I make it so the text starts at the top? thanks in advance! Hi I use an include to display an exteral html file in a div. If I strip the html file of all the header formatting, it displays fine. As soon as I add the header info, transitional info etc, it adds a couple of blank line breaks to the top of the text dsiplayed in the external div. How do I make it so the text starts at the top? Cheers Shaun I have a project written in ASP.NET under Visual Studio 2005 with C#. I am also using Infragistics objects for .NET Advantage 2007. In my page to attach resources to a record I have written a browser and am displaying previously chosen resources here. But when I click the upload button the page opens a new window (which is not a dialog window, but a normal one) which is exactly the same as my dialog window. How can this possibly happen? Can anyone help me? Hi friends , I want to upload the contains of the text file on jsp or html page . I can able to do it on desktop application using File handling function in java but not getting how to do it to upload the contains of text file on html page . And the contains of the text file is getting updated at every hour which also need to be reflected on the page . I want that all the contains get visibled on html page as it is in text file , without changing format Thanks I have an HTML form that allows users to browse for an image. I need that image to then be displayed on that form once the "Upload" button is pressed. Code anyone? Hi folks! I'm learning HTML so that I can eventually design my own website. While I'm creating code, is there software out there, or some way to view the results of my HTML without having to upload it to my host first? Thanks! hi everybody, I am working in a html. I defined a functiion in a html file.(first.html) I want to call that function in another html file.(second.html) How can i call that function in second.html file? give some sample code Thanks in advance.... Hi, I'm trying to include one HTML file in another. I tried iframe and was displeased with the results, I want the size of the frame to change dynamically and not just scroll. Fair warning, my knowledge of JavaScript is non-existent >_> . Basically, I have a document written in HTML (please don't suggest a wholesale re-write, that's simply not practical) and the idea is to have one file where it makes sense to include it several times. One thing to mention, this document is not meant to be shown on a web-server, but in a browser while you're reading it off your hard-drive. Here's what I have so far. main.shtml Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>test</title> </head> <body> <center> <h1> This is only a test! </h1> </center> <p> Still testing!!!!! </p> <!-- #include file="included.html" --> <p> Even more testing!!!!! </p> </body> </html> included.html Code: <!--<html> <head> <title> asdfasdfasdfasd </title> </head> <body>--> <p> <h4> foobar </h4> <br> <br> <br> <br> <h4> boofar </h4> </p> <!--</body> </html>--> Not sure what I'm doing wrong, help appreciated! Hi ,I am new in html.Hope you can guide me step-by-step on this. I want to import my .txt file into the html form and the html form can add new item then to be add in to that particular .txt file too as well. can this be done? For example: (fruits.txt) 1.apple 2.banana 3.orange Can this fruit.txt be impoted to fruit.html page and show it at fruit.html page, at the same time, the fruit html page allow to add in new fruit, and once user add in new fruit, the fruit.txt file will be updated as well. Thanks for your guidiance and help. :-) hi I need to know how you would create a header that simply just displays a picture . Can someone please post the code on here for that ? I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. Hi guys, I have a div on my page, which essentially just places a layer/table over the entire page and displays a "LOADING..." message, then promptly disappears when everything hidden beneath it has finished loading. I want to use this same div in several other pages, so I thought the best way would be to place it in an external file, then simply call it when required. Can someone please tell me how I can do this, i.e. what code I need to place in my HTML script to call an external div? I apologise if this is an obvious newbie-style question! But I appreciate any help that anyone out there can give me. Thanks in advance, Kate. Hi guys I want to add some php files into my frontpage html files, please let me know how to do this. I tried many things but fail. Please guide me. Thank you GCS All, I'm having some serious issues using a tag to a website for one of my clients. I'm using the Code: <sarcasm></sarcasm> tag in some of my code, but it does not appear to be displaying properly in certain web browsers. Firefox and Opera seem to work OK, but IE and Safari ignore the tag completely. I have over 5 years of coding in experience in HTML5, CSS, and HTML, but none in MSHTML, which is what I currently must use. Has anyone else run into this problem in the past? Regards, -Dave Lawrence Microsoft A+ Certification Dell Certifiied Systems Expert Citrix Certified Administrator I have a small question about putting an image on my page, when i use the code
HTML Code: <img src ="ad1.jpg"> the image doesn't work, it just makes a weird icon with three colours. can sombody please help me? Hello, I run a videogame server along with a website for content management. Right now im trying to find a way to display a page with a box inside it that transitions pdf files located in a file on the server. The file would follow as so http://www.voidcraft.net/other/rand/...3681823623.pdf It would also have 4 buttons at the bottom one with a arrow pointing right that would transition to the next. one the the left which would make it go back to the one before. There would also be a approve and decline. The approve would email the email on the pdf or have a box pop up that asks for the email and then send the pdf to a approved folder. The decline would do the same except send a different email and send to a different folder. I have no idea what so ever how to do this. I am only partially experienced in Html and this just goes over my head. Is there a chance that anyone could help me out here? I would like to prompt for name & email address without using php. Possible and if so, how? Hey new to this thread a lot of useful help.. but i have a problem.. I am wondering if i can get some kind of code lets say from youtube of there top music vids... and make it post automatically into my website each time its the top? some kind of rss feed.but a link or video that updates with it? thanks in advance Hi , how to add thick border for html table only for one side of the cell? Please let me know . Thanks |