Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Bandwidth MOD

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch
Bandwidth MOD

Version:
1.1

Installation: Simply copy and paste the mod code into your index.php page, just below the '<?php' at the top of the page.

PHP:
/*
Bandwidth MOD 1.1
*/

// allow hotlinking from these sites, seperate by comma (make sure you eneter your site's domains)
$domains="www.yourdomain.com,yourdomain.com";

// convert domains into an array
$domains=explode(",",$domains);

  // if there is a request:
  if($_GET['q']!="")
  {
  // get referer
  $referer=explode("/",($_SERVER['HTTP_REFERER']));
    // if the referer is not allowed:
    if(!in_array($referer[2],$domains))
    {
    // redirect to homepage and finish script
    header("Location: http://".$domains[0]."/");

    exit();
    }
  }

/*
END MOD
*/
Best of luck
 
Last edited:
17
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
that's great, an extra savings on the bandwidth. thanks rep coming.
lol
We're glad that you're fond of this member, but please give some rep points to some other members before giving it to BillyConnite again.
 
0
Close
weblord said:
that's great, an extra savings on the bandwidth. thanks rep coming.
lol
We're glad that you're fond of this member, but please give some rep points to some other members before giving it to BillyConnite again.
lol Thanks anyway weblord! :D
 
0
Close
BillyConnite said:
lol Thanks anyway weblord! :D
yeah i must admit im fond of your avatar and your custom title looks serious to me.
 
0
Close
lol :D, shuan is sooo cool. Wallace and Gromit = AWESOME!
 
2
Close
Sweet mod dude. I used it and saved HEAPS of bandwidth. Rep coming your way. :)
 
0
Close
Excellent mod man, + rep.
 
0
Close
:D Thanks for the kind words all, and the rep. Hope it saves lots and lots :)
 
1
Close
Excellent information, rep added!
 
0
Close
Very interesting! Thanks alot!
 
0
Close
Rep added!
 
0
Close
No problem people :D
 
0
Close
Hey all :D, I've noticed a few people asking about a proxy bandwidth saver (from hotlniking) so just thought I'd give this a bump.
 
Last edited:
0
Close
Ah, this should be useful. I had the same problem a while back with another proxy site I used to run.
I'll add some rep in a minute.
 
0
Close
hairyfreak said:
Ah, this should be useful. I had the same problem a while back with another proxy site I used to run.
I'll add some rep in a minute.
Thanks Harry :tu:.
All the best!
 
Last edited:
0
Close
what about us that don't have php in our front page? :(

can you please suggest an alternative, or help please?

Sounds great, thanks for the advice :)
 
0
Close
jimmeh said:
what about us that don't have php in our front page? :(

can you please suggest an alternative, or help please?

Sounds great, thanks for the advice :)

Same problem here. My pages are all HTML. Probably need a javascript code instead???
 
0
Close
oo excellent .. i like it

well i dont use html .. i have a iframe so it worked for me.

also a quick question if you can help

i am getting alot of core. files

looks like

core.8956

but a bunch of them which takes alot of space

any idea how to stop that.

thanks

rep added
 
0
Close
Thanks for this, I have a friend who runs a few proxies who is struggling with excess bandwidth due to abuse. I will usggest this to him and see if it can help him to limit his lost bw.
 
0
Close
jimmeh said:
what about us that don't have php in our front page? :(

can you please suggest an alternative, or help please?

Sounds great, thanks for the advice :)
sandyfeet said:
jimmeh said:
what about us that don't have php in our front page? :(

can you please suggest an alternative, or help please?

Sounds great, thanks for the advice :)

Same problem here. My pages are all HTML. Probably need a javascript code instead???
Not sure what you mean by your pages being html, give me your website domains and I'll check it out for you :).
smub said:
oo excellent .. i like it

well i dont use html .. i have a iframe so it worked for me.

also a quick question if you can help

i am getting alot of core. files

looks like

core.8956

but a bunch of them which takes alot of space

any idea how to stop that.

thanks

rep added
What proxy software are you using? Something other than PHPoxy?
Xombie said:
Thanks for this, I have a friend who runs a few proxies who is struggling with excess bandwidth due to abuse. I will usggest this to him and see if it can help him to limit his lost bw.
No problem :D. Hope it helps your friend!

BTW - Just letting all know, a little rep doesn't hurt if you find this mod useful :D.
 
1
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back