HTML - Browse Directory But Only Upload Path, Not Contents (plus Text Area Question)
Hey guys, I'm pretty new to this whole html/web developing community and I got a few questions. My most important question is:
1. Would it be possible to have a button(like a type=file) that browses directories only, but instead of uploading them, just displaying the path as a text, so when my script picks it up, it just reads the text? EDIT: What I'm talking about is very similar to this thread, but i just want them to upload path so when the script emails the data, its just a link to the path on the local server and my other question is: 2. If a user enters data in a text area, like i am writing in this, when my script picks it up, it does not seem to get the newlines at the end and just displays it all on one line, is there a way i can go about fixing it so that it gets passed(or even converted) to exactly how the user entered it? EDIT: I've tried using wrap="physical" tag but I've been reading and some people say that it doesn't work..any suggestions? Thanks a bunch for your help Similar TutorialsIs there a way to put a custom graphic for the browse button in the file upload field, similar to how you can use a custom graphic for the submit button? <A href="http://www.xyz.com">Click Here</A> Trying to find out how to modify the code above to change what is displayed in the notification area at the bottom of browser when the link is moused over. Thanks for your help. (This is one of those stupid 'Why do they do that?' questions. I'd ask them, but I'm worried it's really obvious and I don't want to look like a mook.) I've noticed a couple of teachers at my College set up websites that take up only part of the page. For example, this one page is 440px in height and 775px in width. This leaves a lot of white space, because the page is huddled up in the NW corner of the page. At first, I thought it was for visually hindered people, so when they zoom in, the text would be larger, and the page would fill out larger as well, take up the whole screen. But zoom doesn't actually change the page's height/width. Any thoughts? hi Everyone, I have a html form in which i have a text area.I enter some thing in the text area and when i again request for the same html page i want to now display the html page with the changes i made last in the texta area. Can anyone help me out with this doubt. Thanks in advance I have made a layout for guild in an online game i play im new to html because im 14 so im not very good. The text at the top i want as one blog area but i want a second blog area underneath thats under a spaer here is the code i used for the first blog area <div style="position:absolute;left:450;top:330;width:375;height:304;overflow:auto"> But when i use the same code to make a second area but change the pixels to place it elsewere it just keeps messing up please could someone help me with this i need it soon Ok im pulling my hair out, im trying to make a small text area scrollbox. How od I change the font face, color and background color? Thank you, this is what I have so far please help. Quote: <html> <head> <title>Page title</title> </head> <body> <textarea rows="3" cols="10"> </textarea> </body> </html> Hi, i have the following text <td><span (some style stuff) ><a href="http://www.mysite.co.uk">We are a company in the UK that blah blah blah <br /> Our website is great blah blah </a> </span> </td> This is sitting in a table, i'd like the area where the text is located to be hyperlinked (e.g if you go anywhere inside this table cell, the mouse turns to a link) to 'www.mysite.co.uk' etc., not just the text itself.. how can i do this? Thanks P&P Hey all, I'm not sure if this goes here, but I believe my question is a combination of both HTML and perl (cgi script). I have a website with multiple forms, one being a text area. The user is going to copy/paste test from a file into that text area. The thing is, it has to keep the formatting, so whatever the user typed in the text area is EXACTLY what gets sent through the email. I have worked around this and when using the unix's mail client, i sent it as a content-type: text/enriched. this kept the formatting of the text area and still allowed me to bold some things on the email. What I WANT to do, is send it using Content-type: text/html but still keep the formatting in the text area. Hope this makes sense, thanks. Hello Everyone, I know it's been forever since I made a post, but I ran into something I can't figure out on my own and I am hoping that someone here might be able to give me a hand. I recently spoke with a potential client that wants to copy a feature on another website: http://batchgeo.com/ as you can see, on batchgeo.com the end user can paste data from excel into the textarea field, then when the user clicks out of the textarea, it formats the data to look like it is in a table. Does anyone know how they are doing this? Thanks in advance for any help. -A Is there a way to put text in a type of fixed width and height area? If I make a table that is 100 x 10px and type inside it, if there is too much text it will stretch the table until all the text shows inside. I want it to just cut off everything that is bigger than the demensions specified. i am encountering problem when im inserting "%d" charecters in a text area and click submit button... when i insert those two characters individually it is working... but when i insert those two characters together there the browser is giving following error.... Quote: Your browser sent a request that this server could not understand. Ok, I don't have a way to show you how it's not working, but I would like to put text boxes under each comment picture on my comments page (much like you see on comment sites for MySpace and other networking sites), where the user may copy and paste the code into their own pages and use the images I provide. I found out how to do a basic 'form' with the name being "blank" and the value being the link to my desired image in my FTP, with the "ftp://ftp." taken out and replaced with "http://". So far, all attempts have been futile, and I'm not sure just what I'm doing right or wrong anymore...can anyone help me out? Please note that I'm vision impaired, and it may be somthing as small as me not seeing a particular tag or something, but I doubt it, as I've used my screen reader to read th ecode for me both when inputting it and reading it. I also note that my posts are in larger font so I can read them easier, I'm not telling anyone to do this, only asking, to please reply in size 3-4 for me please...and th kindly Here is an example of what I've done, which didn't work: <form> <input type="text" name="blank" value="<center><a href="http://silverwolfden.com"><img src="http://silverwolfden.com/images/comments/compliments/great_pic/great_pic_10_1_sw.gif" alt="Silver Wolf Den" border="0"></a><br><a href="http://www.silverwolfden.com" maxlength=30 maxheight= 5></a></center>"> </form> If you'd like to see my website (even though there's no way to see what the problem is I noticed ppl were asking to have ppl post the sites they work on it's http://www.silverwolfden.com Hello, I have a text area which is programmed to be dragged around the screen, and then the coordinates are saved. Would anyone happen to know if there is any way of changing the shape of a text area to be circular? Thanks! How I can set the scrool bar so that the vertical bar will show? When the typed text exceeds the horizontal space area, cursor will be moved into next line without hitting the Enter key. Is it possible to get the initial value of a text area to be in any tags (like the italics tag for example)? I was just wondering if this here was the right code: HTML Code: textarea { resize:none; I'm just checking because my editor seems to have a problem with this code. (Coffe Cup) Hi all, I have a directory on my website that is password protected... I'd like to set it up so the first page a visitor sees has an option to log in (with username/password form field) or register with a full form to collect their information. Right now all visitors see is an ugly gray box that asks for username and password. How can I do this? All files in the directory (including PDFs etc.) have to stay protected. Thanks! -Lynn Hello All, This being my first actual post, I'd just like to say that after reading some of the threads on here, this looks like a solid forum, unlike so many others containing similar subject matter. Anyway, I have a question for you all, regarding permissions and protection of directories within a site. In this case, my boss and I are trying to create a voice over casting database for our voice over studio in which clients can come to us with a job and we can create a custom page for them with possible casting choices unique to that job. The creating of the custom pages obviously isn't hard, but we running into trouble with being able to link to specific voice over demo MP3s without allowing the user access to our entire database. Ideally, what we'd like to do is keep all of the MP3s in one directory and then link to them on the custom pages without the user then just being able to jump back and access the entire directory. We'd also rather not put each mp3 in it's own folder and password protect that folder because then the clients would have to enter a different password to listen to each VO. Does anyone have an ideas here? We've been told that a custom script would do the trick, be it html or php, but we don't really know where to start. Any help or feedback would be greatly appreciated. Thanks. -Andy Hi I have a php form on the contact section of my website. It has a Name, Email and Message Box My Problem is in the message box i have made it quite large so they can type in what they need. But the blinking line to show where the start of the text is is in the centre of the box. How can I align this to the top left? Many Thanks hello all, I am facing a wiered pbm on text area resizing in chrome 2 and safari 4. I have on textarea which gets enabled/focus upon completion of one method (init()) . But after successful execution of init() method that text area doesnt enable user to type UNTIL user resizes the text area. I have put a css to disable the resizing of text area with resize:none style. but still the text area on chrome 2 and safari 4 isnt getting snabled/focus after init() method. Any one plz help me to solve this , will be very thank ful to him. I have even tried few options like increase the size of text area but didnt wrk, What worked is if while defining text area if I put default value , then only it focus the text area afyer init() method. But this options clashes with my requirment thanks Ani |