Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

webpage help

  • 16-04-2002 2:52pm
    #1
    Closed Accounts Posts: 244 ✭✭


    hey,

    i want to put a page on my site with some downloadable sound and video clips, where you just click a link or picture and it gives the option to save to disk or whatever...

    is this hard or any ideas how to do this????
    i'll zip the clips and have them in the root folder


    thanks


Comments

  • Closed Accounts Posts: 1,322 ✭✭✭phobos


    You might be suprised to know that you problem has more to do with the browser, than what HTML code you should use. As for the HTML code you just need a normal <a href....> tag to accompish the link. But the important part to note is that, if the file you are linking to is a file that the browser can't display, then it kicks off a file download dialog. In your case packaging the meda files in to zip format is a good idea, because the browser can't interpret those, and would kick off an external download process. If you left them in their original format (E.g. *.wma, *.wav etc) the chances are the clients of your web page might have the necessary plug-ins to allow their browsers to try and directly interpret/display the mm file.

    Or what you could do is put a note on your site to inform your users to: Right Click/Save Target As (in Internet Explorer).

    HTH ;)

    ;-phobos-)


  • Registered Users, Registered Users 2 Posts: 822 ✭✭✭Mutz


    Example:

    <a href="pictureA.zip">PICTURE A</a>

    Where: pictureA.zip is the file name and PICTURE A is what will appear on the webpage.

    Tip: Try to keep all mp3 files and picture files in seperate folders to maintain easy folder managment.

    Hope that helps.
    :)


  • Registered Users, Registered Users 2 Posts: 11,989 ✭✭✭✭Giblet


    You could try something like this to link a picture:

    <a href="file.file"><img src="picture.jpg" width=50 height =50 alt=download></a>

    Obviously changing the file names

    And make sure that if you are using a file to download, if you have everything in the same folder (files, html, pics), you can use
    a folder relative link. eg: <a href="file.file">blah</a> or
    <a href="/file.file">blah</a>

    But if files are all over the place, be sure that the link is specifie:
    eg: <a href="c:\file.file"></a> for a local one
    or
    <a href="http://www.blah.com/file.file">blah</a&gt;


  • Closed Accounts Posts: 244 ✭✭confetti


    thanks lads!!!!!!!!!!!!!!!

    i have one more question!!

    i need to put some security on my site, the site just conatins an online store, message board chat room, downlaods etc


    how do i go about securing my site???????????

    again, thanks for the help


  • Registered Users, Registered Users 2 Posts: 14,761 ✭✭✭✭Winters


    If your looking about getting a secure site it will cost you about E253.99 from securecerts.ie . Thats only if your site is runing off your own server. If you've got a hosting package with a good host they might be able to give you some space on a sercure server or if may be included in a hosting package :)


  • Advertisement
  • Closed Accounts Posts: 244 ✭✭confetti


    my site is on my own pc, its for a project and will not actually be on the web?????????

    is there some coding i can do or somehting???


  • Registered Users, Registered Users 2 Posts: 14,761 ✭✭✭✭Winters


    Ah. I see. I use Active Server Pages to script so if you need login or restrice page access scripts pm me. I would also recommend the webwizguide.com site for scripts and other ASP information.


  • Closed Accounts Posts: 1,322 ✭✭✭phobos


    Active Server Pages

    Always the bloody MS sollution :rolleyes:

    If it's for a college project or something, I guess they don't want too much detail. There are many ways to secure web sites, most methods include some server side web application controling what traffic is to be passed down from the web server to the client browser. As mentioned already you could write a web application using ASP. To do this you will need to be running an NT clone, and IIS (Microsoft's HTTP Server). ASP programs are executed within IIS.

    Now I know ASP is probably the easier sollution, but MS hosting is not very cheap, when compared to other methods. I can give you plenty of information, but I just want to know, do you actually have to code a working product, or do you just have to talk about how it could be done. If it's the latter, then I'd say fill them with the IIS & ASP jargon, other wise find a cheap linux based server, running Tomcat. You can then simply use htaccess (Access Control Lists) to authenticate users, trying to request some resource on the server. This functionality is provided by the HTTP server. But you could also code up a JSP/Servlet program that authenticates users too.

    Actually this post could go on and on....
    But the most important thing to note is that when asking questions on public forums, try and be as exact as possible, because from your initial post you sounded like, you were writing a web site that "would" exist on the web. There is a big difference between talking about what you could do, and actually doing it.

    So just let us know everything, and I'm sure myself & others will be able to fill you with enough sh1t to keep any examination board at bay. ;)

    ;-phobos-)


Advertisement