Jump to content

Stuph

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Stuph's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Well I've tried it, but it doesn't seem to make any difference. I've put the .htaccess file in the highest directory that I can reach on my server but I don't think it's the top one, it's just the 'www' folder. Basically I think my server is like this: ftp://  ->  subdomain.domain.com  ->  home  ->  www  ->  subdomain.domain.com  ->  index.htm When I log in it goes to the 'www' folder. And I can't go higher. I don't really know how all this stuff works. My .htaccess file says this (and only this): AddType application/octet-stream mp3 Much help required :P. Thanks, [b]Ronan[/b]x Edit: The files permissions are '-rwxr-xr-x' if that means anything.
  2. Ok thanks I will try it. Would it matter if the MP3 file wasn't in the same directory or domain? Cheers, [b]Ronan[/b]x
  3. Hey thanks, That code also looks quite helpful but I still don't know how to use it. I kind of understand the whole .htaccess thing but it doesn't seem to work. I mean I'm not even sure if my web server is Apache PHP or not, and I don't know if that even matters. Could someone please explain it in layman's terms for me. I'm so confused. Cheers, [b]Ronan[/b]x I feel like such a noob :P.
  4. Ok thanks guys thats all looks very promising, but how do I use it in real life terms? I mean how, where and why would this work? Cheers, [b]Ronan[/b]x
  5. I don't really understand what you're saying. Basically I want a link on my webpage (either HTML or PHP) that says 'Click here to download the MP3'. And then when a user clicks the on the link I want it to come up with the "Do you want to run or save this file?" box. Then they can either listen to the MP3 by clicking 'Run' or download it by clicking 'Save'. I've seen other people do it using some kind of PHP code but I haven't been able to view the source code. Thanks again, [b]Ronan[/b]x
  6. Hello everyone, I was just wondering if someone could please tell me how I can get one of those links on webpages so that when you click on it (in IE) it says "Do you want to run or save this file?" I'm sure you know what I'm talking about, they normally say stuff like 'Click here to download...' Download.com is full of them. If anybody knows how to do it in JavaScript or PHP then can you please tell me. Thanks, [b]Ronan[/b]x
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.