HTML - Photo Option On Feedback Form?
hi all, Im new on this site....
Im in the process of designing my own site and im finding it difficult to find some code which will allow me to attach a photo to my feedback form and all the data getting sent to my email address, I have completed the whole form and it works fine, i just need some help for attaching a photo option to the form and emailing that to my own email address. Can anyone help please? Thanks Similar TutorialsHi all, I had created a feedback form using the tutorial found he http://www.thesitewizard.com/getting...mweaver6.shtml In that tutorial if the user leaves a required field empty they will be taken to a seperate error page (and a seperate thank you page for when a comment is sent successfully). I'd like to know how to change it so that a small window appears, much like how the following is set up: http://www.easynic.com/feedback.php?interest=true Or alternatively, have a line appear on the page indicating that a mistake has been made (while having the window appear for a successfully sent comment). Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <? $mailto = 'eoghandevlin@btinternet.com' ; $subject = "EPD Q. S. Solutions Comment" ; $formurl = "http://www.epd-qs-solutions.com/comments.htm" ; $errorurl = "http://www.epd-qs-solutions.com/error.htm" ; $thankyouurl = "http://www.epd-qs-solutions.com/thankyou.htm" ; $uself = 0; $headersep = (!isset( $uself ) || ($uself == 0)) ? "\r\n" : "\n" ; $fname = $_POST['fname'] ; $sname = $_POST['sname'] ; $telephone = $_POST['telephone'] ; $email = $_POST['email'] ; $comments = $_POST['comments'] ; $http_referrer = getenv( "HTTP_REFERER" ); if (!isset($_POST['email'])) { header( "Location: $formurl" ); exit ; } if (empty($fname) || empty($sname) || empty($telephone) || empty($comments)) { header( "Location: $errorurl" ); exit ; } if ( ereg( "[\r\n]", $fname ) || ereg( "[\r\n]", $sname ) || ereg( "[\r\n]", $telephone ) ) { header( "Location: $errorurl" ); exit ; } if (get_magic_quotes_gpc()) { $comments = stripslashes( $comments ); } $messageproper = "This message was sent from:\n" . "$http_referrer\n" . "------------------------------------------------------------\n" . "Name of sender: $fname\n, $sname\n" . "Email of sender: $email\n" . "------------------------- COMMENTS -------------------------\n\n" . $comments . "\n\n------------------------------------------------------------\n" ; mail($mailto, $subject, $messageproper, "From: \"$fname\" \"$sname\" <$email>" . $headersep . "Reply-To: \"$name\" <$email>" . $headersep . "X-Mailer: chfeedback.php 2.07" ); header( "Location: $thankyouurl" ); exit ; ?> <body> </body> </html> Any help is greatly appreciated! Niall ................................................................................................. Hi Guys, I'm trying to put together a simple feedback form floating on top of my background image. However the form shows up with scroll bars on right side and bottom of the form. I've no idea why. How can I get it to just show up as normal without the scroll option? Thanks guys! HTML Code: <style type="text/css"> #main { width:689px; margin:auto; font-family:verdana,sans-serif; font-size:12px; } #header { height:600px; width:700px; background-image:url(http://i827.photobucket.com/albums/zz193/colinbrady1985/CLUB/ClubApp02. jpg); } #header a { float:left; width:140px; height:115px; text-indent:-9999px; } #header div { float:left; width:360px; height:107px; padding:10px; color:#fff; overflow:auto; } img { display:block; border:0; } form { width:517px; padding-top:10px; margin:0; background-color:#01abe8; } form p { padding:0 5px; font-size:11px; color:#fff; text-align:center; } form div { padding-bottom:10px; } form label { float:left; width:146px; padding-left:5px; color:#fff; } form .required{ font-size: 13px; color:#f00; } form .btn { margin-left:153px; } form .btn1 { margin-left:150px; } </style> <div id="main"> <div id="header"> <a href="">albums</a> <div id="text"><font size="4" face="Arial"> <div> <div style=" top:245px; left:45px;"> <form method="post" action="sendmail.php"> Email: <input name="email" type="text" /><br /> Message:<br /> <textarea name="message" rows="8" cols="20"> </textarea><br /> <input type="submit" /> </form> </div> </div> </div> </div> I'm selling a product and only three out of four are managed through Paypal. I have a buy now drop-down form on my site for Paypal, but I need to ad a fourth option without changing the name of the form. When that one option is selected the user should be auto redirected to another page. The other three options shouldn't do anything until the buyer presses the payday buy now button. Any ideas? I am trying to create a FORM with multiple option radio buttons. Basically this is a ready script I found on the internet. I have tried to customize it but there is a slight problem which I have been unable to fix after a lot of tries. In the below code, I am trying to open the following URLs on submit. http://www.pixmac.com/pictures/"searchterms"?a=kcalpesh http://www.crestock.com/image-keyword/"searchterms".aspx/112582/ In both the URLs the "searchterms" is dynamic and will be picked from the input box present in the form. PROBLEM PART! On submission, the URL that opens is only up to http://www.pixmac.com/pictures/"searchterms" and the affiliate ID after that gets missed. Same with the other URL on submission, the URL that opens is http://www.crestock.com/image-keyword/"searchterms" and again the affiliate ID gets missed out. Below is the complete page code for the FORM. Any help will be highly appreciated. I am not a coder and have very limited knowledge of HTML / Javascript!! <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Untitled Document</title> <script type="text/javascript"> function dosearch() { var sf=document.searchform; var submitto = sf.sengines.options[sf.sengines.selectedIndex].value + escape(sf.searchterms.value); window.open(submitto); return false; } </script> </head> <body> <form name="searchform" onsubmit="dosearch();"> Search: <select name="sengines"> <option value="http://www.pixmac.com/pictures/"searchterms"?a=kcalpesh" selected="selected">Pixmac</option> <option value="http://www.crestock.com/image-keyword/"searchterms".aspx/112582/">Crestock</option> </select> For: <input name="searchterms" type="text"> <input name="SearchSubmit" value="Search" type="submit"> </form> </body> </html> Hello, I have produced a form which can be viewed at http://www.magicalwonders.com/Freestufftest5.html and have a couple of questions I hope someone can advise me on. Firstly, I'm not sure why the "autofill" option available on the google tool bar is not being made available for the "Name" and "Country" input. The code I am using is as follows: Code: <form method='POST' action='http://www.magicalwonders.com/cgi-bin/arp3/arp3-formcapture.pl'> <div align='center'> <p>First name<br><input type='text' name='first_name' size='20'></p> </center></div> <div align='center'> <p>Country<br> <select name="country" input type='text' size='1'> <option value="Afghanistan">Afghanistan</option> <option value="Albania">Albania</option> </select></p> </center></div> <div align='center'> <p>E-mail address<br><input type='text' name='email' size='20'></p> </center></div> <input type='hidden' name='subscription_type' value='E'><div align='center'> <p><input type='submit' value='Submit'></p></div> <input type='hidden' name='id' value='2'> <input type='hidden' name='extra_ar' value=''> <input type='hidden' name='first_name_man' value='1'> <input type='hidden' name='country_man' value='1'> <input type='hidden' name='notify_email' value='MWsubscription@hey-presto.demon.co.uk'> <input type='hidden' name='notify_subject' value='Magical Wonders Opt In'> </form> The autofill highlights the email input box in yellow, but not the first two boxes. I have no idea why. I have only included two countries in the above code, to make it easier to read. Secondly, is there any way I can center the list of Countries in the drop down box, instead of them showing hard left in the box? Hope someone can advise. Myles is there a script that i can use in my html website to allow a customer to add feedback on my site? I made a directory lister with the following attributes: Images will be displayed as thumbnails Thumbnails are automatically generated Page is automatically updated and redrawn on each access All colors, fonts, and sizes are customizable One index file is required to be placed in each directory It is simply a graphical directory lister - nothing needs to be configured for it to work http://www.phpstory.net/graphics/75 I'm looking for some feedback for improvement and can pretty much make anything happen. It's complete for the most part but I guess first thoughts and suggestions would be helpful in completing the script. I want to make it publicly available at some point and I haven't really gotten enough feedback to call it "finished". It was coded by me 100% - nothing has been borrowed or copied! Thanks!! I have a document I've created in HTML and I'm attempting to be able to have people fill it out and save the results. The document contains radio buttons, check boxes, and text fields that need to be filled out. Now I need a way to have the results saved and sent to me. For some reason I thought if they saved the page after compleating it and e-mailed it to me it would save their results, but it just sends the orriginal page. Any suggestions. Hi there, I have come across a great piece of code work. See the 'Feedback' option at the bottom of this page: http://www.adobe.com/products/ I would so like to incorporate the same on my website. Would greatly appreciate assistance with code. Best, wirefree Hey guys new here so thank you in advance for any help. I am building my first site and I want to have a form on it where users of the page can submit info into a form and then be provided info about that info. For example: How many A's do you want to buy? User inputs a number or selects from a drop down of numbers How many B's do you want to buy? User inputs a number or selects from a drop down of numbers Then I want to the user to see instant feedback on the site that says "Your total is $x.xx" Is this possible? Thanks again trying to figure out the easiest way to work through a gallery of my photos. i want it to be very similar in the way that you click next/previous on this site: http://www.megwachterphoto.com/portraits/index.html and how the next image comes in. looking at the source code, it's pretty frightening for me as a beginner. any tips of how this is done? mine's going to be similar but probably with an .gif of a negative with arrows in it. each arrow will be sliced and assigned the next/previous thing. any ideas?? http://brandonmckenney.com/environment.htm that's my site, so the arrow/negative gif will be below the images that appear. Ok, here is the delema. I have just finished the layout of my football team's website, and now I have ran into a problem. Just as I was about to post some pictures, I realised that a page with a bunch op pictures on it doesnt look very nice. So I set out to find some sort of photo album tool that i could use to put into my code. Unfortunatly, all i could find was a program called jalbum. It seemed perfect except for one problem, it creates it's own entire webpage -.- I dont care how it works, it just needs to be flexible, becasue I have to be able to upload new pictures daily, otherwise I would have just made one in flash. Oh yea, here is a link to the temporary webpage that it is hosted at http://www.sitebywhite.com/cougars by the way, I need this BEFORE friday, as that is when we leave for our trip, so i need to be able to upload by then. He is my code in godaddy blog. I've tried everything. Please help <img src="http://images.quickblogcast.com/8/5/8/1/4/251413-241858/PamBlog.JPG" border="0" width="110"><br> The image is to the far left. So on my blog, which is on wordpress.com. I like the theme and most of it I think worked out decently, but I ran into a problem. So I have a page where it's a collage of portraits of people and I simply code it with a <a ref= ...> and I align it left and I just repeat that so each photo gets put right where the last one left off. The problem with it is now that I have over 200 photos on it, it loads REALLY slow. I was wondering if there was a way to code it so the resolution on each picture doesn't reload everytime you zoom in and out on your browser. I do want to keep it so that if you click on a photo, it goes to the individual picture (which is hosted on photobucket). Is there a way to do this? Because the scrolling up and down has become really slow and choppy on this page. Thanks a lot. P.s. if you wan't to see what I'm talking, the page is http://wtffund.wordpress.com/faces-of/ Hi! I'm very new to HTML / CSS, (like, a total of 16 hours experience), and I am trying to make a website. I was wondering how to create a low maintenance Photo Gallery section. I need something that will have multiple galleries to choose from, and when chosen, the user can flip / scroll through the images. The reason I say 'low maintenance' is because when updating these galleries, each new photo set could be upwards of 50-100 photo's, and coding those in individually would get rather annoying. Is there a better way? My website code is available upon request if needed Thanks! Hi Can anyone point me in the direction of some decent HTML code for a photo gallery, Im getting fed up with people not being able to open my falsh ones so im going back to basics. I want something that wont need loads of changes each month, something that will require little set up, Iv about 30 photos each weeke i need to put up online... any ideas? Hi forum. I am a relative newcomer to website creation so please forgive me if I'm not up to speed. I want to try and develope a system where customers can upload photos onto my site, and the photos go to my email inbox or sit somewhere privately on the server. Is it as simple as writing html to make it happen or do i need to apply software and get permission from my web server? The photos would need to be full size. Would they need to be compressed? (perhaps 3mb size). Is there software that can do this? Any help and ideas will be gratefully appreciated! Many thanks, Pete I want to make a gallery. What is the best way to do this? I've heard of something called coppermine, but I don't quite understand it.. Is there someone willing to help me, and to explain properly step by step how to make a photo gallery the best way? Hi, I'm very new at this, so I may be asking a stupid question, or one which everyone else knows the answer to, but here goes. I want to have a text link from which a user can click to download a photograph, about 1Mb. When I do this now, it just opens a new browser window, and displays the photograph. The purpose of this is to have a web image gallery, which of course displays thumbnails, and when each thumbnail is clicked, a larger, but still relatively small (60-70kB) version opens. After this, I want the viewer to be able to click on the text below the thumbnail if they want a large version of the file, but this is the one I just want them to receive as a file downloaded to their computer, not a large version which just opens in the browser window (and spills out of it). I can't seem to find any html code that allows me to do this. Can anyone help? Thanks in advance, John |