content top

Buffalo announces a 256GB SSD with 405MBps read speeds

Buffalo announces a 256GB SSD with 405MBps read speeds

When it comes down to choosing storage for your PC the mechanical drives score top marks for capacity and price but are let down in other areas such as stability & read/write speeds. But the SSD has taken the lead on the speed factor, and now Buffalo along with others has made the switch to Solid State memory. Buffalo’s first jump into the SSD market is a bit of a monster, they have produced a 256GB 2.5″ drive that has a...

Read More

Xi3′s Chromium PC is the First Desktop Ready for ChromeOS

Xi3′s Chromium PC is the First Desktop Ready for ChromeOS

First unveiled by Xi3 last year, the ChromiumPC is ready to ship this summer, with a unique architecture designed for ChromeOS. Xi3 has been working on this for awhile, and even got some praise for it during CES. The computer itself is housed in an aluminium case that holds three modules that determine the functionality of the machine. These modules are interchangeable, meaning that the ChromiumPC will be able to run other OS’ other...

Read More

Validate an Email Address

So, you’ve created a new user system but you need a way to see if an email address that someone has registered is genuine. This small script will do this by checking the email’s MX records. <?php function CheckEmail($email,$record = 'MX'){ //define a function list($user,$domain) = split('@',$email); //split up the email into two variables $user &...

Read More

Mode, Mean, Median, Range of an array

Any type of coding requires you to be a good mathematician as you are constantly using your code to solve math problems to make your program function correctly. Here is a way that you can use a single function to work out some simple math problems that you may need for your program to function. <?php function mmmr($array, $output = 'mean'){ if(!is_array($array)){ return FALSE; //failsafe ...

Read More

PHP Random String/Ticket Generator

This is a very basic script that generates a string 25 characters long using the characters listed in $string. You can modify the length of the string by changing the 25 in the for() statement to the length you desire. <?php $string = "abcdefghijklmnopqrstuvwxyz0123456789"; //List usable characters for($i=0;$i<25;$i++){ //Repeat 25 times $pos = rand(0,36); //We have 37 characters in our $string so we...

Read More
content top