PDA

View Full Version : Countdown?


cr0wonline
09-30-2006, 08:57 PM
Is there any way to remove the 60 second countdown before downloading? Because i remotely host my .js files for quick access, and those codes are used by hundreds, but they dont show up for over a minute, which kind of defeats the purpose. :confused:

Tyler
09-30-2006, 08:59 PM
Nope, sorry, they are there so they can prevent abusive hotlinking.

cr0wonline
09-30-2006, 09:04 PM
Great...finally find a host that has enough bandwidth and space to suit my needs but they have hotlinking protection...my codes all use PHP to make sure only hosts with "probards" in the url to be able to use them, but i guess that doesnt make a difference?

UnlimitedMB
09-30-2006, 10:48 PM
We are not a file host.

If you host your entire site here there would be no problem.

cr0wonline
10-01-2006, 12:14 AM
We are not a file host.

If you host your entire site here there would be no problem.

I don't use ulmb as a file host, i use it for my site, but some codes that i make for the Proboards forum software are far too large to be directly inserted, so they must be hosted.

But i can see this isnt going anywhere, so ill just go back to looking like a n00b and using crappy hosts. :(

UnlimitedMB
10-01-2006, 03:23 PM
You can install a forum here like phpbb.

cr0wonline
10-01-2006, 06:16 PM
I don't make them for my forum, i make them for use by the millions that use the second largest forum provider on the net.

Do paid accounts allow hotlinking?

Tyler
10-01-2006, 06:19 PM
We don't offer any paid hosting accounts right now.

cr0wonline
10-01-2006, 09:25 PM
Dang, kk.

Hmm, is it allowed for me to make something like this:

http://www.cr0wonline.com/hosting/JS/code_name.js/index.php

And this contained in the index file:

<?php header("Location: http://www.otherhost.com/blah.js"); ?>

?

UnlimitedMB
10-02-2006, 01:06 AM
Yes its allowed.

cr0wonline
10-02-2006, 07:37 PM
Yes its allowed.

It still doesnt remove the countdown :confused:

UnlimitedMB
10-02-2006, 10:29 PM
Please explain? if your forwarding the php request to another host there is no countdown.

EDIT: Ahh it probably wont work because the server checks the URL.
You need to do xxx.php?file.js not xxx.php/file.js
A question mark after the php is required.

cr0wonline
10-03-2006, 12:46 AM
Ohh, that works ;)

Thanks Eric :)

Oh, just a suggestion. Why not just do a check to see if anything ending in .js has an index file, that'll tell the script whether or not it's a folder ;)

UnlimitedMB
10-03-2006, 03:10 AM
Because the hotlinking check works by checking the URL before it reaches the file system, doing a lookup on every single request to see if its a file or a folder would be a waste of resources.