What program do you recomand for windows 7 to test my php and mysql localy on my computer without uploading them on the server.
You could install PHP and a web server (IIS) on Windows 7 and use that to test. There are plenty of documents around explaining how to do it. Most programs that error check PHP code require you to have PHP installed on your system. Without it, the most those programs usually do is syntax highlighting.
I would recommend you download and install following: Apache web server Mysql community server PHP module for Apache Doing this would result in almost web hosting server-like environment. Setup takes a bit of time in comparison to xampp etc, but it is worth the time.
Or you can use virtual mashine, like VMWare or VirtualBOX (free), inside install enviroment like on your real server and use for tests before deployment to production server.
Download XAMPP or WAMPserver, then save the file. for XAMPP save in: XAMMP/XAMPP/htdocs for WAMP save in /WAMP/www
I would of course recommend to have Apache, PHP and MySQL installed and properly configured but if you don't feel like having a setup like that, go for WAMP - one-click module loading and portability makes it a pretty good alternative.
I prefer Wamp...no particular reason just the first one I chose and it has done everything I've ever needed.