HTML - Password Required Before Downloading File
Hi,
I'm a photographer and I want to start posting portrait slideshows to my website. What I would like to do is have a simple HTML page with hyperlinks that when you click on the subjects name it will start the download for the slideshow. However, I would like for it to request a password before allowing someone to download the file. It doesn't have to be double super secret secure and is really more for keeping honest people honest. I would just like to have another step the might deter someone from downloading another person's slideshow. Any help with this coding would be greatly appreciated. Thanks! -Pam Similar TutorialsHi, I want visitors to be able to download files (.mp3) from my web site . I've looked through some of the posts on this and some seem to say just use something like: <a href="http://yourdownloadfile.mp3">Download This</a> others mention php. What is the best to use? Do I need php? Thanks Hi, I'm putting up a store that sells downloadable content and am having trouble with the download procedure in the osCommerce system. Under Linux it works great but the host I am using uses Microsoft Server and after about 10 mb or 4 minutes time it runs out of resources and reports the download is complete when it is not. Now I'm looking for an alternative method to download the file without the buyer being able to see the exact URL for the file. If he could see that he would have the opportunity to pass it on to his friends. If dishonest he could just as easily email the file to all his friends but I digress. Using the store's download procedure I can only get 46kps where as I can get in excess of 200kps by entering the URL to the file in the address box at the top of the browser. Ok now I have procedures that will check to make sure the person is logged in and he has downloads available to the file before the procedure will continue so what I need to know is there a way to after the checks are run just do the equivelant of entering the URL at the top of the box without actually allowing the user to see the URL to the file? The store uses PHP to do this and under Linux is extremely fast, but under MS server is slower than crap and never completes. I thank you for reading this, I probably gave more information than was needed, but I would rather err on the side of too much than too little. Bob Hai I am displaying a list of mp3 files in a html file. I want to provide download option for the mp3 files from the html file. Now i am converting mp3 files to a zip file and then downloading it as below <a href="song.zip"> Download file</a> But i want to download it as an mp3 file itself. please any body guide me to download the mp3 file from the html file. Thanks Sakthi There are download managers (such as DAP, etc.) which can download parts of files from different mirrors and assemble them on the same pc. Your users will need one of these installed to download the file, or you could send them your own download manager. If using a ready made download manager they'll need to enter the urls of the two mirrors of the file. I was hoping someone could clue me in as to whether or not this would be possible. I'm thinking it isn't but I need to make sure. I'd like to provide a file for people to download on my website, but when they click on the link and the download window appears I don't want them to have the option of opening it. Is it possible to only give them the option to save the file? Sounds incredibly unlikely but I gotta know. Hi, I'm brand-new to the forum, and brand-new to html. I'm attempting to modify a form on my website. I had hoped I could avoid learning html by having someone else design my website, but it's becoming increasingly frustrating to go through him for every minor change (not to mention expensive). So, I'm basically learning html while changing this form, and I know it's not a real pretty script, but I just need it to do its job. After 5 hours of work on it, I thought it was just perfect. Every time I made one or two change, I uploaded it, and tested the form before saving it and moving on. It was going fine, until the last changes (removing the required validation on several fields)--now the form submits even when not a single field is filled in. Even undoing the changes and going back to the previous version doesn't help... Here's the original: http://www.cbellisfunding.com/capital_request_form.html And here's my edited version: http://www.cbellisfunding.com/capita...0modified.html Feel free to try the form out; I don't mind the docs in my inbox if it helps troubleshoot. I would greatly appreciate any constructive input! Thank you! ~Michelle~ oh, by the way, I ran the html validation software and it came up with 193 errors (!). All of them were my programmer's, not mine. (I change only a few very specific things) Many were closing code, and I hand-fixed those. The rest I haven't a clue how important they are to repair, since the web form has worked with them so far... Can someone post the code I would use to have a hyperlink on our webpage that would give visitors the option to view or download a pdf? Thanks! I am setting up a website to print free birthday cards. However I am not at all experienced in html. Basically I want the customers to print the cards without downloading the image. I thought I could do this perhaps by loading what I want printed in an iframe (???) The actual page will have the image with a watermark on it, and a printing link that prints the card without the watermark I'm trying to setup download links on my page. For exsample I have a file on my web server and I want a link that I can click on and it will bring up a download window. Can anyone PLEASE HELP! Generally when you click a link to e. g. JPEG image, it is open in browser window. When you click a link to a ZIP file, it is downloaded. Is there a possibility to force a browser downloading e. g. a JPEG image? Please follow this link and observe how the page scrolls up after you have been taken there. It scrolls up because, unless you've been here before and have all the images stored on your computer, the images are continually downloaded and they expand the height of the page causing it to expand down and causing your browser to scroll up. Incidentally, the point at which you were supposed to be linked to ends up further down the page. Is there a way of preventing this? Is there a way of getting the browser to stick to the original point on the page where you were linked to? Hi, Im trying to put .pps or .ppt slideshows on my website but instead of playing the show, it wants to download. I thought they were working right at one point a long while ago, but nooooo...I must have been hallucinating! I would really appreciate any advice. page: http://jdsplace.us/vids/seriousvids/...worldpics.html the slideshow is beautyworldpics.pps code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Beautiful Views of Our World</title> </head> <body background="/background_images/b2.gif"> <a href="/new/lateststuff/lateststuff1.html"><img src="/gif/backblue.gif" border="none"></a> <center> <table border="4" width="60%"> <tr> <td> <center><font size="6"><em><b> Here are some fantastic photos of our world </b></em></font</center> </td> </tr> </table> <br> <font size="4"> Click the Blue button...may take a moment to load </font> <a href="/vids/seriousvids/beautyworldpics.pps"><img src="/gif/button43.gif" border="none"></a> </center> </body> </html> How do I get a sound file to automatically download when a user enters the page after purchsing? Thanks. Hi, I have a niggling problem that I can't resolve despite googling it to death. I'm sure that it will be simplicity itself for those of you on the forum, so advice please. I have a page - just a normal .net page - the basic structure looks like this: <html> <body> <form> <div id="my-site"> </div> </form> </body> </html> Both the html and body tags have height set to 100%. The html tag has a tiled background-image #mysite has a fixed width set + margin auto to centre the site I also have another background image (currently applied to the body tag). This repeats horizontally across the entire width og the page. The problem occurs when I zoom using Firefox. The content expands as expected, and the image applied to the html tag expands, but the body image stops short of the right side, leaving a gap. I use a rest on my css so margins are set to 0. Any help or advice would be appreciated. Thanks John Hello everyone, I am attempting to use an <a href=".."></a> tag to access a .htm file. The problem is that the file that is being accessed is located in the folder above the folder in which the file is accessed from. Confused? This is where my file is: \htdocs\admin\index.htm This is where the webpage I want to access is located: \htdocs\index.htm I cannot figure out how to access that file!! How is it done? Many thanks in advance bassguru1234 I want to ask you ,guys that already know this things . How much time does it take to learn ? -html -css -javascript -php -mysql . Each of them ,and another question ,what else should i learn to be able to create any website that i want ? Hi, I'm fairly new to all this and have never styles a table before. I have a small issue with this table below that I can't resolve as yet. HTML Code: <table bgcolor="Blue" cellpadding="0" cellspacing="0"> <tr> <td valign="top" bgcolor="Yellow" height="150" width="150" style="border-right:solid 1px #d2d2d2;margin-right:10px;padding-right:10px">Image</td> <td valign="top"> <table bgcolor="Aqua" width="400"> <tr><td>This is a title</td></tr> <tr><td>This is a description</td></tr> <tr><td>This is where the additional extras go</td></tr> </table> </td> </tr> </table> The issue I have is that the first td should have padding, then border, then margin before the next td. The border is showing but no padding or margin is applied. Whilst I'm here I'd like to ask a couple more questions in relation to the table above. Firstly, I have nested a table inside the table - is this the best way or should I have applied a rowspan to the first td? The reason behinf this is that the 2 first level td's both have independent content - the first one houses an image up to 150px high and the second with the table houses variable text, so either could be the longest. Secondly, is there anything you should always do when playing with tables, for instance resetting certain things? The table is to go inside an email, hence the table and inline styling. Please ingnore the color attributes as they are only there to help me with the construction. Thanks in advance. John Hi guys, I am having a little difficulty with the layout of the adverts on the following page: http://www.dynamic-xchange.com/DXSer...d_Personal.php I am trying to align them as they are on this page with the Ad Space and Pixel size headers directly above and below them: https://www.dxsynergy.com/adsXposed/...asp?DXAction=0 I have tried a few times now and am beginning to give up. Any assistance would be greatly apprecaited. hey guys, kinda new at this stuff... just wondering....lets say i am calling 2 different page in 2 frames (one page in each frame) in one html..and lets say those 2 pages require you to login through username and password....i want to create a applet that will allow me to enter credentials(username and password, if they are the same) in that applet(or dialog box) and which use that info and log in 2 both sites... please help me out.,.. thnx |