PDA

View Full Version : question about some rules


gusto
09-25-2008, 11:06 PM
I signed up a while ago and have had a small personal site for a while under the free hosting plan. I am planning on pointing a domain page to the ns and use my free account to host it. This webpage is just under construction on my hard drive right now. Because I'm planning on having a more important site, I just want to get clear on some rules fromTerms page.

I've been worried about this one with my personal site
Your account must get at least 10 (ten) Unique Hits per Week. I've been kind of wondering, is this reinforced? Because I've hardly told anyone about my webpage so far so I'm not sure if I've been making that quota unless I've been saved by web crawlers.

a disproportionate amount of the resources of the UnlimitedMB.com server, including without limitation, use of highly active PHP scripts or MySQL processes. I'm a newb at writing php and mysql and stuff, I'm basically teaching myself off of Google. Is there anything in the panel of what our average CPU usage is so we can like disable parts of the site before we get suspended?

any use of space that does not allow, or interferes with, the display of advertising Does ulmb even have advertising? I don't think I've ever seen an ad.

These are just somethings I'm wondering about. I know I should scrounge up some cash for paid hosting, but I'm a cheapie.

Tyler
09-26-2008, 01:14 AM
I don't think we have had to enforce the 10 hits per week rule yet. But if it comes to it some day we might have to.

There is no place for you to check and see what percent of the CPU you are using. If you are hosting a small site you will be fine unless you create infinite loops.

Yes there are ads on the free hosting, sometimes you see them sometimes you dont.

UnlimitedMB
09-26-2008, 01:23 AM
1. We do not plan to enforce the 10 hits rule for a long time.
And if you are still logging in to your account it will be ok.

2. See the banned scripts post for an idea of things which are not allowed.
There is not really one hint we can give you that can make you write faster scripts, this is a skill you learn with time.
Look at php.net on the functions you use and read the comments, usually if there is a faster way someone will say so.
When using SQL queries make sure the columns you use most are indexes.
eg. if you regularly use "SELECT from x WHERE username=xxx" in alot of places, then "username" should be an index.
If you know in advance that your SELECT query should only return either nothing or one row, then put "LIMIT 1" in your query, this will make mysql stop looking once it finds one result, because you know there wont be any more matches but mysql does not until it searches every row.

3. It just means you may not use any scripts/programs to block ads, or provide instructions for others to do so.

gusto
09-26-2008, 01:18 PM
3. It just means you may not use any scripts/programs to block ads, or provide instructions for others to do so.
So say like my favorite browser is Firefox. Could I put a sticker on my site that says, "Site best viewed in FireFox"? Like, not to say to get rid of the ads, but moreover Firefox and many newer browsers are already designed to block pop-ups and even have options to completely block ads on a page. I think this is why I've never seen an ad on anyone's ulmb page.

UnlimitedMB
09-26-2008, 01:27 PM
"Site best viewed in FireFox" is fine.