If you are getting some strange errors while trying to load a .php file with XAMPP such as __PHP_Incomplete_Class, there is a simple fix to this. Edit your php.ini file and change these variables to these values:

register_globals: Off
session.use_trans_sid = 0

That fixed my problem :) Just thought I would let fellow developers know, just in case.