Added php to index for auto contect generation.
Fixed one looping issue.
FIXED ALL OF THE THINGS. Now to break more stuffs.
Fixed all of the problems. Need to move from test bed to actual page.