sorry king... I gotta say, I have no clue... I have very similar code for 3 of my apps and I even created a sample project using your code and it worked!
I see you are running it from localhost... id say check your server settings (WAMP, LAMP, Apache, etc) and make sure it is handling PHP files properly. But regretfully, that is something a tad bit out of my league :P Thats what my server admins are for lol