I have installed XAMPP many times , but with the newest version, I just can't run PHP scripts on htdocs folder. Only the localhost homepage scripts and phpmyadmin work. The stats even say that PHP is activated. Anyway, When I try to run scripts inside htdocs , I get the code itself on the source while the page is blank. I checked php.ini and httpd, and they both look fine.
I also tried to uninstall completely and reinstall (by erasing the whole folder) , same problem.