I haven't really checked, but I'm betting there are dozens of ready make login pages that use php, you just need to search for them. As for a testing server, try to set it up exactly like the server the site is going on, if it's a Windows server, then set it up on Windows, it it's a BSD server, install BSD on an older machine, or a hard drive, and add a server to it. Otherwise you duplicate and waste your effort, problems you encounter on one server may not occur on the other.
Welcome to http://www.myphotowizard.net
where you can edit images, make a photo calendar, add text to images, and do much more.
When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.