HTML - Protected Directory Form Question?
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 Similar TutorialsHello 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 Wicked simple question: I have three images located in my "images folder" My Top level looks like this -images- (folder) -party- (folder) index.html In my "party" folder I have a page called "events.html" and I need to know how to call an image in my "events.html" located on the top level folder "image" I know if i move the event.htmls to the top level I could call it by this: <img src="/images/picture1.gif"> However I DONT want to move the events.html, so how do I call the image? O and I am not looking for the answer : put the "http://www.sitename.com/images/" in the image tag ANY HELP THANKS!!!!! 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 Hi i am designing a website for a client and he wants only one page to be password protected, how do i do this with dreamweaver cs3? Hi Guys, I have a page on my web site that I wanted password protected, so I put it into a different folder that I password protected. Navigating to the page and other pages from the password protected page is no problem. But, one of the links from the page is to an IP address. When I click on that link, I get an error message of "The requested URL /stafflogin/\\( ip address ) was not found on this server." I have the link coded as: <a href="http:\\( ip address )"> Can someone please tell me what I'm doing wrong? When this page is in the root directory of the web site, it works just fine. I tried "..\http:\\( ip address )" but it still does not work. I got the following error when I coded it that way: "The requested URL /stafflogin/..\http:\\( ip address ) was not found on this server." Thanks in advance for your help... I want to upload some password protected files to my site, and I'm not sure how to do this. These files would not be linked to on any of the pages, so you'd need to know the exact file path to access them. These files are not incredibly sensitive/important, so I don't need to go overboard with security, but I would at least like to have them password protected. Can someone run me through this process or link me to a good source of info? Thanks. Hey guys, im looking for an HTML or java script that will allow me to have a page that cannot be viewed unless you type in a password. Reason being is i wish to have a separate page with a chat box and web cam function which can only be used by staff members for online meetings rather than having to travel to meet up. Also it would serve as a page with chat just to sit and chill. Basically im needing a button (which i can make) "staff members only" which will be located on the main website and once clicked i would like it to open up a new page which has the password form or button that opens a password box. I would like to set the password my self and only have one password and be able to change it when i feel its needed. once the password is typed in and is correct i would then like it to open up the page where the chat box is.i have searched high and low for a form like this, i have found several but once the password is typed in and is correct they will only load a file and not redirect you to a website page. Any help is welcomed can you hack the password on this forum? http://www.hiddenforum.net I'm not trying to advertise but more to improve my html based password protecting code because, as far as I know, no one has created a proper one I am photographer and want to upload client jobs to a web page or whatever and allow, via password, my clients to view and/or download the job to their site, is this an easy thing to achieve? Thanks. 1St PROBLEM OF PASSWORD HIDING HAS BEEN SOLVED,N DA 2ND PROBLEM HAS BEEN GIVEN IN THE LAST POST OF MINE. PLEASE CHECK @ALL N HELP ME. Hey friends,i'm having a JavaScript by which we can make our html page password protected. I got dis script from a site n tried,but dont know where i'm going wrong. CAN U ALL PLZ TRY IT N DEN SAY ME,HOW N WHAT TO DO. The script is as follows,which is to b placed in the head tag. Ok.. <script language="JavaScript"> <!--hide script supplied by hypergurl http://www.hypergurl.com var password; var pass1="daksh"; password=prompt('Enter your password in order to view this page!',' '); if (password==pass1) alert('Correct password, OK to enter!'); else { window.location="http://soamz.uk.to"; } // end hide--> </script> Plz help me.. My temporary site is http://soamz.uk.to Hi I have a couple of webcams around the house, which requires me to login to the webcams webpage with username and password, before I can view the picture from the cams. I wanted to put the pictures from all cams on the same webpage, so that I can view them all at ones, and I created a page, where I insert the images path to the cam pictures like this: HTML Code: <img src="http://username:password@webcam.page.com/picture.jpg"> This works fine in Firefox and Android browser, but in IE the pictures are not shown. Is there any way to fix this? Ps. I realise that the username and password are exposed in the image address, but since the webpage the pictures are displayed in is also password protected, I figured that this would not be a problem. Thanks. Hello, Please forgive me if this makes no sense at all, I have been trying to figure this out for awhile now and just dont really understand forms. I am trying to figure out how to make the form on my website work. http://www.legrandmotorsports.com/service_status/ The purpose of the form is to have customers enter their service tag number, click submit, and be able to view the status of their service work. Heres what I am trying to do... Whether or not its possible, I dont know? I would upload the service status html pages by thier tag number under the service_status directory. Example: legrandmotorsports.com/service_status/4151.html Now, my question is, is there a way to set this form up, so that the number the customers typed in, would be automatically put into the link "legrandmotorsports.com/service_status/SERVICE NUMBER HERE.HTML" Then whenever they click submit, the number they typed, would be added to the link, taking them to their service status updates. Is this possible? Or do you have any recommendations on how I could/should do this? Any help is grately appreciated. Pete I have created a form that just consist of a comments section and a submit button. Right now it is set to email the comments posted. The problem is we would like to keep the persons identity secret. See, when the person hits submit it brings up their email software and sends the email with their email address. We dont want to know their email address. So question is - is there a way of sending the email when they hit submit w/o us seeing their email address? or is there a different way of the person sending their comments w/o us knowing who it came from? Thanks! here is my html: <table><form method= "post" enctype="text/plain" action="mailto:my@my.com"> <colgroup align="left" valign="top"> <tr> <td>Comments:</td> <td><textarea name="comments" rows="5" cols="70" /></textarea></td> </tr> <tr> <td></td> <td><input type="submit" value="Submit" />  <input type="reset" value="Clear" /></td> </tr> </colgroup> </table> Hi, how can I position a <form> om my page in html? WHat or how does it work? please give example. thanks Hi. I want to make a form with an input field in one table cell and the submit button in another cell. How can i do this? Parashurama Right, I want to create a navbar for a site I'm working on. The site structure works like this: Code: -index.php -edit.php?id=# -delete.php?id=# -new.php What I want the navbar to look like is this: Code: --------------------------- |EDIT DELETE NEW [input box]| --------------------------- Where edit, delete and new are 64x32px images. I want each of those images when clicked, send the user to that link, using the input box's number. IE, the input box has 21 in it. User clicks EDIT. User gets linked to edit.php?id=21 OR, user clicks delete. User gets linked to delete.php?id=21 Can it be done, and how? Thanks! -Girvo Hey all. I haven't designed a website in over 5 years and am extremely rusty. I'm trying to create a contact form and i have a question. When i hit submit it opens up outlook and just fills in the too with the e-mail i choose and the body has the content of the form. I don't want it to do this. When i hit submit i want it to send the contents of the form to an e-mail of my choosing and then take you to another page that says "Thank You for your submission" or something along those lines. Right now i have: <form action="MAILTO:example@example.com" method="post" enctype="text/plain"> <h3>Please fill out the form below and someone will be in touch with you shortly.</h3> Name: <br/> <input type="text" name="name"/> <br/> City: <br/> <input type="text" name="city"/> <br/> State: <br/> <input type="text" name="state"/> <br/> Zip Code: <br/> <input type="text" name="zip"/> <br/> Phone #: <br/> <input type="text" name="phone"/> <br/> E-Mail: <br/> <input type="text" name="email" /> <br/> Comment: <br/> <textarea rows="10" cols="80" wrap="physical" name="comments"> </textarea> <br/> <br/> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> What am i missing and how do i go about doing what i want? Thanks in advance!! Hello, I am new to posting on HTMLforums.com. I have a quick question for someone that has a good understanding of HTML (and most likely JS). On the front page of SWFL.cc I have a search box to the left. It is connected to the php search functionality in the Open-Realty Script. I would like to know if there is a way to get this functionality: I have the Purchase/Rental drop down, and I would like to know if there is any way to change the price variables depending on the selection of the purchase/rental drop down. If this is possible, could someone point me in the right direction to figure out how to go about doing this. Thank You, Brian Meyer Hey, I am relatively new to html and had a quesiton concerning html forms. I am familiar with how to display the form on the site and have the user submit it, but how can i retrieve that data automatically (real time preferred) and post it on the page without doing anything else myself. specifically, how can i have a user input a link and have the html code automatically add it to a page? Any help would be appreciated. I have another HTML form question....when I used http://www.forms4free.com, neither they nor Freedback have information about adding javascript for format, do you guys no of any good tutorials on Javascript for form validation? |