Market Share Ticker provided by MS Chat Research Center

110MB Server Status Update #2

Since I launched the 110MB Server Status, I have been working on some features...

So here they are:
- Report Viewer, which logs ups and downs of all servers, and says when they went down and when (and if) they came back up :thumbs:
- The new API is released, a bit different then the old one...
At the URL http://northsalemcrew.net/110mb_status/api/api.php you get a bunch of funky code, get it, and use the PHP function unserialize which will turn it into an array, however, if you want to cut down on the size so it can transfer faster, add ?encoding=gz to the end, and it with gzcompress the string, once downloaded to your server, use gzuncompress(), and use unserialize, and there you have it!

And yes, there is a JSON encoded one too... add ?type=json to the end of api.php and it will give a JSON encoded string, now if you want that encoded with gzip, add &encoding=gz and it will do the same :)
- 110MB Server Status Image updated!


Code: [Select]
[url=http://northsalemcrew.net/110mb_status/][img]http://northsalemcrew.net/110mb_status/status.php[/img][/url]
Enjoy!

0 comments | Write Comment

New 110MB Status RELEASED!

I am proud to finally announce the new arrival of the brand new 110MB Server Status! It has that new car smell :-D

New features include:
- Now Monitors how many people are currently on FTP
- Name Server Status Added
- What box is your site on?
- Loads a LOT faster
- Looks a lot better :)

In a little bit (after I post this) the old page will redirect to the new one. As of now, the old image is dead, same with the API... It of course will still show and return details and such, but it is no longer updated.

An API and Image will available for this server status sometime this week.

Enjoy!

0 comments | Write Comment

110MB Server Status Update

I am completely coded the new 110MB Server Status backend, it is so much more well organized, and a lot easier to use :)

Now it calculates the uptime percentage when the cron is ran, so no matter what, it will load fast.

I am going to bed, but I will implement this tomorrow :)

0 comments | Write Comment

Box16 Added to the 110MB Status

110MB is going to soon be opening registration on another server, Box16 :thumbs: this new box is located in Canada.

I have just added Box16 to the 110MB Status page.

As you may notice, it loads rather slow :P Cause? You would run slow if you had a record table or 557,328 D:

So, I am emptying out the table to about 100,000 records, DONE! It now loads much faster, however I am currently recoding it, and this time I really am :P and it will be more organized and a lot better handled and even easier to add Boxes :)

0 comments | Write Comment

Useful Tidbit - Remove HTML Entities with PHP

I am currently coding a new project that I will announce sometime soon. And I was in need of removing HTML Entities from a given string, so I made one...

So I thought I would share :) I am not sure how fool proof this is, but works well. Recursion FTW!


function remEntities($str) {
  if(
substr_count($str'&') && substr_count($str';')) {
    
# Where is the amper thingy?
    
$amp_pos strpos($str'&');
    
# Where is the ;?
    
$semi_pos strpos($str';');
    
# Only if the ; is after the &
    
if($semi_pos $amp_pos) {
      
# Ok... must be an HTML entity? Try to remove
      
$tmp substr($str0$amp_pos);
      
$tmp $tmpsubstr($str$semi_pos 1strlen($str));
      
$str $tmp;
      
# Another entity in it? O.o
      
if(substr_count($str'&') && substr_count($str';'))
        
$str remEntities($tmp);
    }
  }
  return 
$str;
}

Enjoy! Call on by remEntities(STR); and will remove HTML entities as best as it can, recursively!

0 comments | Write Comment

Caching Class News

I am going to be working on the Caching Class, this next release will be version 1.0!

What will be new?
- It will have 3 ways to cache! MySQL, SQLite or file based! :)
- Will be completely recoded from scratch
- You can store private data, or public :)
- Will no longer require PHP Session ID's, it will be self handled (Undecided)

So pay be paying attention to see when its released :P

6 comments | Write Comment

xBlog - My Blog Project

I am creating a blogging system called xBlog. I started it yesterday, and it is a Google Code Project. Sadly in the beginning I had planned for it to work with MySQL and SQLite, but SQLite and MySQL just can't go together easily without major and complicated fixes with SQLite...

So I have decided to drop that, and it will use only MySQL. I hope to one day include SQLite support, but not now...

xBlog is a Google Code project, and I am currently working on a site for xBlog which can be seen here

0 comments | Write Comment

txtDB sort-of-SVN

Lol. I just thought I would allow everyone to see the source of txtDB, I will upload it every so often and you can see it

My SVN-sort-of-thing can be viewed here: http://files.mschat.net/txtDB/, and it will include the rough date of when it was uploaded ;) Looks like there is currently one up :P

0 comments | Write Comment