Forum Moderators: coopster

Message Too Old, No Replies

Bandwidth per IP

How to give limited Bandwidth per IP

         

youyou

5:18 am on Mar 16, 2009 (gmt 0)

10+ Year Member



hello how are you i have question about the limited Bandwidth i was googleing about the limited Bandwidth & ppl was saying ihave to ask my hosting so here we go i come here & i'm going ask you maybe you guys will help me

i want do limited Bandwidth for my users
let say ihave user comeing from ip 123.123.122
& i have one video clip is 40 mint & i want my user will watch only 20 mint of it & then he will wait let say 40 mint & then he can watch onther 20 mint so the way iwill not use to much of my Bandwidth this way is will help me & help you guys

so can you guys find out what is the code & give it to me so iwill add it to my phph.ini or .htaccess plez i really want do this so my user will not use alll my Bandwidth plezz helpp

penders

1:40 pm on Mar 16, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Just my 2 cents... I would have thought it would be much easier (for the PHP developer) to limit the number of (requests for) whole video clips, rather than trying to measure the total bandwidth per se and limiting to partial video clips. Also, getting blocked part way through watching a video is only going to annoy the end user.

janharders

1:47 pm on Mar 16, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



you should talk to your webhost. there are apache-modules (and probably for most other httpds, too) to do that kind of thing, but they'll have to be set up by your host.

eeek

12:20 am on Mar 24, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Have you considered what happens when you get users that are coming in through a proxy server (e.g. AOL) or NAT'd gateway?

youyou

5:06 am on Mar 28, 2009 (gmt 0)

10+ Year Member



so there is no way ican do the by useing phph.ini or .htaccess?

eeek

4:06 am on Mar 29, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



So you are ignoring the reasons not to do this?

Key_Master

4:36 am on Mar 29, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Perhaps the size of the videos can be cut in half.