You can easily add Internet-based control for your Arduino if it is close enough to your server to be connected via USB. This tutorial will give the basics you need to get it working. The gist of this ...
//Need to get the mid point of array. Use Floor because we always want to round down. $mid = floor($count/2); //If there are an even amount of elements... if (($count ...