You can of course save your files inside your localhost folder. Xampp makes running a PHP server a heck of a lot easier, as you'd be able to open the file in a browser and make changes that will automatically be visible to everyone without the need to copy multiple files.