HTML - Attaching A Pic Or Document To An Form And Emailing
I have written a form using HTML. This form will allow customers to customize their products. I am having a problem with attachments. I am not sure how to setup a spot for them to upload an attachment. After the attachment is uploaded i want them to be able to submit the document to me via email. I currently have the email setup as
HTML Code:
<form action="MAILTO:CustomerService@trainorglass.com" method="post" enctype="text/plain"> Can someone please help me out and tell me if this is possible. Similar TutorialsSo i have a form i am trying to email when you click submit, but i don't like the way the mailto function works. So i am trying to use php to email the form. Then have the user directed to a thank you page. The problem is when i click send it loads the sendmail.php page but its just a blank page and nothing happens. I can't figure out how to fix it. All help is appreciated, thanks. I have the form i am trying to email: Quote: <form method="post" action="sendmail.php"> <font face="Myriad Pro"><b>Name:</b></font><input type="text" size="24" maxlength="40" name="name"> <br /> <font face="Myriad Pro"><b>Email: </b></font><input type="text" size="24" maxlength="40" name="email"> <br /> <input type="submit" value="Send"> </form> </font> And then i have the sendmail.php: Quote: <?php $email = $_REQUEST['email'] ; $name = $_REQUEST['name'] ; mail( "*****@gmail.com", "Form send", $name , "From: $email" ); header( "Location: thankyou.html" ); ?> And then i have a simple page that says thank you. Can anyone help me learn how to attach a flash file? Im planning on making the whole website in flash so I don't have to learn to much. Thanks Hi, I am new to this forum - and indeed forums in general - and I am hoping someone can help me with my Ecommerce website. I am in the process of designing a web store using Volusion as my template. The template allows for html coding and flash scripts. I am no expert in either one, yet have learned quite a lot since I began a few months ago. I am hoping someone here might know of a way to insert a code or script which would allow the option of attaching/uploading of an Excel file to an order, during the order process. Currently, I am using hyperlinks so a user can click and access his/her email browser to download a file, but it is inefficient. Thank you, Abie How to attach a local file to mail with "mail" syntax? Thank you! -gav What would I need to add to a form in HTML to have it saved to an Excel Document when it is submitted? I want each <input type="text"/> to be put on the same line, then the next person to fill out the form goes on the next line. This is what I have so far, and I have no idea how to get it to link with an Excel Document. <html> <head> <title>Please Sign In</title> </head> <body> <h2>Please Sign In</h2> <form> Name: <input type="text" name="name" value="" size="20"/><br/> Date: <input type="text" name="date" value="" size="20"/><br/> <input type="radio" name="inout" id="in"/> In <br/> <input type="radio" name="inout" id="out"/> Out <br/> <input type="submit" value="Submit" size="20"/> </form> </body> </html> For the radio buttons, would it be possible to have an In column and an Out column in the excel sheet and whichever is selected would put an X in that column? Thanks in advance for any help. I have the following code <p style="text-align: left;"><font size="4"><span style="font-weight: bold;"><font size="2"><u><em><select name="Rating"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option></select><br></em></u></font></span></font></p> <p style="text-align: left;"><font size="4"><span style="font-weight: bold;"><font size="2"></font><input value="Submit" name="naf ds" type="submit"><br></span></font></p> which created a menu with 5 options and then creates a submit button. See where i used it at http://groundzerostudios.googlepages.com/wip ( I am using google pages) Now i need it so when A person selects submit it saves the value some how and displays the amount of ratings and average rate, all this with google pages. Is this possible?. If the above is not possible at least tell me how I could automatically email it to GroundZeroStudios@gmail.com, also I do not want the same IP address to be able to submit it more than once a month, if that is not possible, than the same IP address can only ever vote once. Thanks a lot I have a question concerning a image map. I am creating a best buy/circuit city like email advertisement that will be sent out to users/members of a website. The email contains images (products) that the user will click on and will be directed to that product on the website to purchase. My question is, how do you email an image map? Is it possible? Or is there another way I should go about this all together? I want to have a Contact page in my website, and I was wondering if there was a way to include a built-in emailing system on the page so that poeple can directly send messages to me without having to type over my email adress in there own hotmail. Thanks in advance Sensen Can someone tell me why my submit button is not open an email client. I uploaded the website http://unitedpop.host56.com . I input this <form method="post" action="auth@testing-email.com" > <input type="submit" name="submit" id="sumbit" value="Submit" /> <input type="reset" name="reset" id="reset" value="Reset" /> </form> Hello geeks! i have a very simple problem, but cant solve by myself.. i have this html page on my site , which asks details like name , address etc but when people click on submit button the data entered on the page is not send anywhere , there is no html code written in that. i'll be much much happier if any one can also add captcha in my html code the direct link for my page www.linkinu.in/apply.html thanks Just wondering how do I get the innerHTML of document.title using javascript, I tried; var title document.title.innerHTML; But it's not working, anyone help me please? I have set up some document downloads with <a href>NameofDocument</a> , but everytime a user downloads a document a blank browser window opens and then comes the pop up to either save or open in Office. Any ideas on how to keep this blank browser window from opening or being created. I have to send someone a family tree chart converted from a no-text-wrap RTF file to an HTML file so they can upload it to the internet. I have converted files from RTF to HTML easily enough with PolyEdit in the past, but this file has a very large width. When I convert it, the resulting HTML file doesn't keep the no-text-wrap setting and everything is a mess. Is there a way around this? Hi guys. I took this coding from a free coding site but am stuck already! I would like the document the user uploads to appear on the website straight away. I am trying to get a notice board affect where multiple users can upload a document for someone else to look at. Thanks <!-- TWO STEPS TO INSTALL UPLOAD FILTER: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: ArjoGod, Shauna Merritt --> <!-- Modified By: Ronnie T. Moore, Editor --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin extArray = new Array(".gif", ".jpg", ".png"); function LimitAttach(form, file) { allowSubmit = false; if (!file) return; while (file.indexOf("\\") != -1) file = file.slice(file.indexOf("\\") + 1); ext = file.slice(file.indexOf(".")).toLowerCase(); for (var i = 0; i < extArray.length; i++) { if (extArray[i] == ext) { allowSubmit = true; break; } } if (allowSubmit) form.submit(); else alert("Please only upload files that end in types: " + (extArray.join(" ")) + "\nPlease select a new " + "file to upload and submit again."); } // End --> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <center> Please upload only images that end in: <script> document.write(extArray.join(" ")); </script> <p> <form method=POST name=upform action="/cgi-bin/some-script.cgi" enctype="multipart/form-data"> <input type=file name=uploadfile> <p> <input type=button name="Submit" value="Submit" onclick="LimitAttach(this.form, this.form.uploadfile.value)"> </form> </center> <p><p> <!-- Script Size: 1.55 KB --> How can I change a HTML document to an XHTML document? I am having trouble with displaying documents with the tabbed browsing, how do I get a document to open up in acrobat reader w/in the browser? I have a code that I'm using right now from dhtml for displaying the documents in a tabbed browsing format but O want to enable clients to click on the doc and fill out in acrobat w/out leaving the browser. _____________________ sport book betting steroid Any suggestions on the best way for me to put a rather large document on the web? It will have about 500 pages, looks like. Comes in 22 chapters of varying sizes. Currently all the pages are .jpg pictures. Html menu tree to chapters then sections then pages? Or just html links in a similar fashion - with thumbnails maybe? Or should I make one or more .pdf 's ? Or should I/could I put it in an SQL database and serve it up from there? ( A bit unlikely, I think - I don't get that much room with my host and I don't want to pay for more - but if it turns out to be the solution of choice I'd maybe go for it.) Or what? |