chrometweaks.org

Which is the best iPage web hosting to my website?

Click Here To View All Answers...


Got a quick question: Which is the best iPage web hosting to my website? Many thanks for any response. Another quick question... Hi,.

On my webpage Im offering some downloads..

Now what I would like to do is to link to a page that will then automatically start a download (offering a fall-back link in case the download should not start automatically)..

I had hoped I could start the download after a few seconds using:.

<meta HTTP-EQUIV="Refresh" CONTENT="3; URL=http://file.zip">.

In the header but that does not work. If I exchange the URL with a .html file the forwarding works. Also changing the URL to file://file.zip does not work ....

Any inputs how I could achieve that the download starts automatically from my page?.

Thanks in advance -.

Morlock..

Comments (5)

Good question... I dunno what is the right answer to your question. I'll do some poking around and get back to you if I find an anything. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Me again,.

The tip to check twocows was good - they are using the same system..

In fact I found it does work if I use somthing like this:.

<meta HTTP-EQUIV="Refresh" CONTENT="3; URL=../file.exe">.

But this does not work:.

<meta HTTP-EQUIV="Refresh" CONTENT="3; URL=http://www.test.com/f1man.exe">.

This means it only works if I do use a relative path, which is a problem for me as the file to download sits on a different webspace ... so a relative path would not work for me..

Any idea how I can use an absolut path?.

Thanks again - Morlock..

Comment #2

More than likely it is serverside code. I know in php we can use.

Header("location: file.zip");.

And it starts the downlod. as giz was saying you have to click on the file then it opens a new window and that above code is in it. but most of the time the file is located in a db of some kind...

Comment #3

Strange it works with a URL or even when I give it the link to the file - as long as the file is adressed by a relative path..

As soon as I give it a absolute path it doesnt work..

Any idea why?.

Morlock.

PS: Found a relocator Java Script, funny enough this shows the same problem, relative path works, absolute path does not work .....

Comment #4

Uh,.

I was incorrect - it works with the Java Script code that I found in the A1JavaScript section - here it is:.

Place script in body of page.

===================================================.

<form name="redirect">.

<center>.

<font face="Arial">.

<b>You will be redirected to the script in<br>.

<br>.

<form><input type="text" size="3" name="redirect2">.

</form>seconds</b>.

</font>.

</center>.

<script><!.

/*Copyright 2000 Stephen Shellard (c)*/.

//change below target URL to your own.

Var targetURL="http://www.a1javascripts.com".

//change the second to start counting down from.

Var countdownfrom=10.

Var currentsecond=document.redirect.redirect2.value=countdownfrom+1.

Function countredirect(){.

If currentsecond!=1){.

Currentsecond-=1.

Document.redirect.redirect2.value=currentsecond.

}.

Else{.

Window.location=targetURL.

Return.

}.

SetTimeout("countredirect()",1000).

}.

Countredirect().

//>.

</script>.

Problem solved - thanks -.

Morlock..

Comment #5

Just as a little note, file:// indicates to a file on your computer, not the web...

Comment #6


This question was taken from a support group/message board and re-posted here so others can learn from it.