Been fighting this webserver problem for a while...all it was was an if that needed to be changed to a while...  ARRG!!!  >_<