Redirect loop fix

Solved redirect loop for games posting to index.php. Also support for
old school pnflashgames posting to index2.php