ztizzlegaming / CSGOWinBig

Open-source Counter-Strike: Global Offensive jackpot betting website.
MIT License
169 stars 104 forks source link

How to limit socket accesses? #162

Closed keinervonuns closed 8 years ago

keinervonuns commented 8 years ago

Hi. Is there any way to limit the socket accesses. My hoster only allows 100/minute, 1000/hour and 5000/day wich results in this error:

Warning: get_headers() [function.get-headers]: Sorry, socket access was denied. The contingent for this hour has been exceeded, in /users/xxx/www/xxx/php/SteamAuthentication/steamauth/openid.php on line 315

How much accesses does the site need?

andrewda commented 8 years ago

By limiting "socket access", I believe you would be kicking users off the site, which is most likely not what you want. The best thing you could probably do is upgrade to a better host.

keinervonuns commented 8 years ago

My hoster raises it if you ask them but i would like to know how much i would need first. Any suggestions?