HTML - Appending Varibles To Urls Using Html Form.
Okay, All I want to know is this:
I have this simple HTML form HTML 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>Proxy</title> </head> <body> <form action="" method="get" name="webaddress" target="_self" id="webaddress"> <label>Web Address: <input name="webaddress" type="text" id="webaddress" value="http://" size="100" maxlength="100" /> </label> <label> <input type="submit" name="go" id="go" value="Go" /> </label> </form> </body> </html> I want what ever text that is typed into the webaddress to be appended to the url below and the person to be taken there http://atyndall.heliohost.org/proxy/index.php?q=APPEND webaddress FORM CONTENT HERE Anyone got any ideas on how I could implement that, I have a PHP/MySQL Linux server. Similar TutorialsHi Can any one help. I have this form the user is ask to input a message and a number. I want to be able to add a line of text to the message, which the user can not delete. But is sent joined to the message. ie User input Message = "Hi Just would like to share this site with you" with added text: Message "Hi Just would like to share this site with you" + "mydomain.com" Can anyone help? =========================================== Here is my form so far <script language="javascript" type="text/javascript"> function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; } } </script> <html> <body> <form action="stext.php" method="POST" name="number" id="number" style="width: 384; height: 372; "> <input name="number" type="text" id="number" style="position: absolute; left: 123; top: 287; color: #FFFFFF; width: 154px; border: 1px solid #ACC61B; background-color: #000000" size="20" tabindex="2"><p style="margin-top: 0; margin-bottom: 0"> <textarea name="message" cols="17" rows="1" id="message" onKeyDown="limitText(message,countdown,140);" onKeyUp="limitText(message,countdown,140);" style="position: absolute; left: 120; top: 105; width: 162px; height: 154px; color: #FFFFFF; font-family: Agency FB; font-size: 14pt; border: 1px solid #ACC61B; background-color: #000000" tabindex="1"></textarea> <br> </td> <input name="Submit" type="submit" id="Submit" value="!" style="position: absolute; left: 121; top: 329; color: #D95503; width: 157px; height: 23px; border: 1px solid #D95503; background-color: #D95503" tabindex="3"></p></form> <p style="margin-top: 0; margin-bottom: 0"><font size="4" face="Agency FB">Maximum characters: 140. You have <input readonly type="text" name="countdown" size="3" value="140"> characters left.</font> </font></p> <p style="margin-top: 0; margin-bottom: 0">nmgnm,</p> </body> script completed, thx hi www.ebolasoup.com <-- i want to do that on a page on my site so that any urls displayed on the page act as links, even the urls that are retrieved from the mysql db, oh and opening in new window, how is this done i cant find the answer anywhere? hello, sometimes I see the following urls in some websites. Instead of seeing webpages extensions, I see the folders. http://www.example.com/en/services/ What's inside this folder ? How does it work ? thanks I have several pages of webaddresses and I want all of the addresses to link but dont want to do it to each address, is there anyway to make each addresses automatically hyperlink to itself. e.g www.cnn.com, i would like that address to be hot and when clicked it goes to cnn.com but i have pages and pages of addresses and dont want to have to type a target for each one. Thanks Hi, While parsing relative URL segments "../" to hierarchical segments of the absolute URL , I notice that the <a> tag and the <link> tag do this differently. Take the following absolute and relative URLs: absolute URL: http://www.a.com/a/b relative URL: ../../b/c.css The <a> tag resolves this to: http://www.a.com/b/c.css However the <link> tag resolves this to: http://www.a.com/a/b/c.css It appears that all other forms of resolving URLs are equal between both tags however, I have been trying to find the RFC specification on this but have had no luck. This document http://www.ietf.org/rfc/rfc2396.txt does not contain any information regarding the <link> tag. Is anyone here familiar with this or know where I could obtain more information. Thanks, Bandito http://www.gaihosa.com Hi I have a blog with blogspot (google) and I want to post, say, 50 links. I don't have time to add the HTML link code to each one (<a/ or something) Is there anyway that I can quickly format my links so they are clickable? I just want the URLs to link. For example I want to post (just an example): www.youtube.com www.google.com www.microsoft.com www.htmlforums.com and so on... anyway to automatically make the clickable links? must be i just dont know how :p they are clickable in this forum because it automatically makes "[url]" tags. I want to do the same only on my blog. thanks! Is this possible? I know it seems to go against the grain, but it'd be cool for an image gallery I'm working on. I've got a feeling I've seen a site a few years back where this happened: if you right-clicked a hyperlink and chose SaveTargetAs, the URL would be a JPEG which you could easily save to your computer. However, if you left-clicked the hyperlink, it wouldn't simply open the JPEG but would dress it up in some HTML as a kind of pictureframe. Have I dreamt that or is it possible?! Hey all. I'm attempting to build a website, that when you click a button on the page it links you to a random website; that is sourced from a text document. In short, is this possible. At the moment the only way I can see doing this is: Code: Lucky[0] = "http://www.the-penthouse.com.au/"; Lucky[1] = "http://first.com.au/"; Lucky[2] = "http:/second.com.au"; Lucky[3] = "http://third.com.au/"; However it wouldn't be suitable because I have over 300 sites. Any help would be awesome! Before I begin, I'm new to these forums, and if someone can give me an answer, I plan to answer some of the more obvious questions around the forum. Alright, so I've searched for around 2 hours trying to find this. Everytime I try, I end up running into people asking the same question over and over again, "How do I create a link that changes the iframe's page?" That is not the question I am asking. Basically, I run a photoshop tutorial website, that I just started. I use an iframe, (named, "mainframe") and I know how to create links that change the iframe's contents. However, I want to submit some of my tutorials to other websites. The problem is that if I link to my website, the iframe loads the default page, and they have to navigate their way to the tutorial themselves, and that is not acceptable for those that actually need tutorials... I've found the temporary solution of copying the index.html file and then modifying the html code to set the default iframe page to the tutorial, then linking to the copied index file. However, I would rather just have one index file, and change the iframe page using a single U.R.L. To further simplify my question, I know it's going to look something similar to this: "http://psprofessor.orgfree.com/index.html?framepage=http://psprofessor.orgfree.com/images/tutorials/patterns/home.html" I know that this is not correct, and you need some sort of indicator as to what the name of the iframe is, I only showed that to show what type of question I'm asking. I also realise that the answer to my question may not include the word, "framepage." The url of the page with the iframe is: "http://psprofessor.orgfree.com/index.html" The url of the page I want to load into the iframe is: "http://psprofessor.orgfree.com/images/tutorials/patterns/home.html" The name of the iframe is: "mainframe" Basically I want to compress all that into a single url that I can type into my browser, and when I type it into my browser, I want to go to the index page and have the iframe named, "mainframe" load the tutorial page as opposed to the default iframe page. Thanks in advance to any assistance that I can get. Hi, We have a large (over)complicated business website - I'm only testing it, so don't have any input to the code (I do have some html experience as I design my own websites, but nothing as complicated as the business one). The live site works OK, but as soon as we work on the test or the live-contingency site, when we click on a link we are taken to the live site, so I think the problem is that the site is using absolute URLs rather than relative ones - I can't see all of them as they are off in the javascript somewhere, and the pages are so complicated I don't fully understand them anyway. As far as I can see the options are - keep it as it is and put up with the fact that we can't test a lot of the functionality (not very good) - build a host file so that we are sent to the correct url (not very good because we're not properly testing the links) - replace all the absolute URLS with relative ones - sounds good, although how we get the developers to rebuild the whole site (3000 pages!) I cannot imagine! Does anyone have any other suggestions? Thanks all John I have a webpage with a button to submit a form to a location, however I would like to be able to make this button send to as many different urls as I specify? Sorry if this doesnt make any sense, but any help is appreciated. Thank you. Hi everyone, I'm a total newbie and have zero previous HTML experience (but have experience reading code). I am modifying a site to support 3 radio buttons that switch the function of a single search bar. Could you guys please help me figure this out? Warning - all of this is copy-and-paste frankencode from the source, pieced together by guesswork. It may hurt your eyes. In case you're wondering, this is simply a design prototype for a class I am taking that requires user testing. The actual web development will be done by someone else if accepted. I will learn HTML properly later on. Attached is an image of what I am thinking of. And here is the pertinent code: Code: <h2>Select the search engine that meets your needs.</h2> <form id="form1" name="form1" method="post" action=""> <p> <label> <input name="searchEngineSelection" type="radio" id="searchEngineSelection_0" value="http://uci.worldcat.org/search" checked="checked" /> <strong>Melvyl</strong></label> - Search libraries worldwide for books/music/other media.<br /> <label> <input name="searchEngineSelection" type="radio" id="searchEngineSelection_1" value="http://antpac.lib.uci.edu/search/X?SEARCH=" /> <strong>ANTPAC</strong></label> - Search and reserve material held at UCI Libraries.<br /> <label> <input type="radio" name="searchEngineSelection" value="http://www.lib.uci.edu/search-site.html?cx=009602760963559712792%3Aoglsjsxdz5m&cof=FORID%3A10&ie=UTF-8&q=" id="searchEngineSelection_2" /> <strong>Site</strong></label> - Find a specific page or information on the Library website.<br /> </p> </form> <form accept-charset="UTF-8" action="http://uci.worldcat.org/search" id="wcfw" method="get" name="wcfw" target="_top"> <input name="q" type="text" id="quicksearch_field" /> <input align="top" id="quicksearch_go" onmouseout="goBtnOff()" onmouseover="goBtnOn()" src="./Home Page - UCI Libraries_files/button-go-off.gif" type="image" /> </form> I have no idea how to do it so I am asking you gurus to help. Thanks so much for your time. I have a Website which I need put on a CD to send out to customers. I am looking for a way of being able to send the contents of an HTML feedback form to a mail address. Bear in mind that the Form will be on a CD and will have no server side support (CGI, PHP etc). I am rapidly coming to the belief that this cannot be done!!!! Can anyone help Hey I am building a form and I would like to record the person's ip when they sumit the form for security reasons, is there a code for that. I went to a few sites and the codes did not work. hi, i am newbie to web design, my html form works in firefox but not in opera or IE, i use outlook 2002 the code is show below <form action="MAILTO:tecnodude@gmail.com" method="post" enctype="text/plain"><p> </p> <p> <font color="#FFFFFF"> </font><font color="#000000">Please forward us your name and email address so we can provide you a better service.</font></p> <p><input type="text" name="T1" size="20"> <font color="#000000"> :Name</font></p> <p><input type="text" name="T2" size="20"> <font color="#FFFFFF"> </font><font color="#000000">:Email</font></p> <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p> </form> Hello, With a HTML form, is there anyway I can allow the user to send the form to my email without it opening up a email program? I currently have this... HTML Code: <form method="post" action="mailto:support@huntswebdesigns.co.uk"> If it is possible, what would I need to change in this? Cheers guys. Hello, on my website ... davidm.freepgs.com/index3.php ... on my right side i have a search form. if you open my site with mozilla firefox everything look great but if you view it with Internet explorer the search button is not in the box but below it which messes up the options below it. This is a little part of the form where the problem is occuring: <input type="hidden" name="domains" value="davidm.freepgs.com"></input> <label for="sbi" style="display: none">Enter your search terms</label> <input type="text" name="q" size="9" maxlength="255" value="" id="sbi"></input> <label for="sbb" style="display: none">Submit search form</label> <input type="submit" name="sa" value="Search" id="sbb" class="button"></input> the search button is the class="button"> it is located in my css file. Can anyone please help me out here? Is any one willing to make me a small form for my contact us page in html? All i want is a box that asks there email and then a larger box below were they can type there message and then when they click on send i want it to send me the infomation to my email at info4football_programmes@yahoo.co.uk Thanks hi guys i just added a protection to my forum - which look like this just a simple hyperlink thing can sm1 help me to modify it into to look into like this- regards ian |