|
-
Nov 4th, 2001, 12:48 AM
#1
Thread Starter
Hyperactive Member
Start Downloading..
Hey, I am wanting to know with what and how can I get my page to auto start the download as the page loads.. (as download.com does)
Also, I am probably going to host maybe 20 or so small files, and I dont really want to make a seperate page for each one.. I know there is some sort of script that will show me how to arrange these files into one script and then have the link call on that file when the page loads..
Kind of want to put this all together, but mainly the start download as the page loads is what im concerned about..
Thanks,
-Sac
-
Nov 4th, 2001, 11:35 AM
#2
PowerPoster
Code:
<META HTTP-EQUIV="Refresh" Content="2;URL=file.zip">
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Nov 4th, 2001, 01:15 PM
#3
Thread Starter
Hyperactive Member
..couldn't get it to work.. it just seemed to refresh
-
Nov 4th, 2001, 01:18 PM
#4
Thread Starter
Hyperactive Member
alright, well I got it to work by putting th efull path to the file, only thing is that the file Im getting them to dl is a .wav file and I dont want them to have to have it open up in Windows MEdia Player, I want them to be able to save it as a wav if they want to rather than opening it up in Media Player.. how can I make it download it (save target as) instead?
-
Nov 4th, 2001, 01:18 PM
#5
Member
Dreamweaver seems to agree with sail:
Code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="2;URL=file.zip">
</head>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</html>
-
Nov 4th, 2001, 01:26 PM
#6
Thread Starter
Hyperactive Member
yteah i know, my last post said I had got it to work..
-
Nov 4th, 2001, 01:28 PM
#7
-
Nov 4th, 2001, 01:43 PM
#8
Thread Starter
Hyperactive Member
-
Nov 4th, 2001, 02:49 PM
#9
hey does that Meta tag work with variables?
like
echo"<META HTTP-EQUIV=\"Refresh\" Content=\"2;URL=$file\">";
and Filburt, the reason you got Apache to download the html file is because apache wasn't configured right. lol
-
Nov 4th, 2001, 04:39 PM
#10
PowerPoster
it should work with vars as long as the server processes it before it spits out the HTML.
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Nov 4th, 2001, 09:31 PM
#11
Conquistador
Originally posted by scoutt
hey does that Meta tag work with variables?
like
echo"<META HTTP-EQUIV=\"Refresh\" Content=\"2;URL=$file\">";
and Filburt, the reason you got Apache to download the html file is because apache wasn't configured right. lol
yep
-
Nov 4th, 2001, 11:19 PM
#12
thanks,
-
Nov 5th, 2001, 02:22 AM
#13
Conquistador
no probs
You could've tested it, lol
-
Nov 5th, 2001, 09:44 AM
#14
probably but I wasn't working on it at the time. I will tonight after work. why test it when I have you guys testing it for me lol 
-
Nov 5th, 2001, 10:21 AM
#15
Conquistador
i didn't test it
i knew it 
i have used that before...
-
Nov 5th, 2001, 04:26 PM
#16
PowerPoster
You can do it for anything, as long as it's server side first. You can really funktify the code
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Nov 6th, 2001, 12:14 AM
#17
Conquistador
You can really stuff it up too
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|