Forum Moderators: phranque
Is every single IP unique
Yes, it has to be, that's how your requests find you on the web. When you make a request, it includes your ip, that's how the request is returned to you. The web depends on unique ip addresses. However, in many cases if you are on a subnet, you will have an ip address that is unique on the subnet, but not on the larger net, but if you have a real static IP address that would not be an issue as far as I know, since the request hits the web from the gateway of the subnet, using the gateway IP, I think that's how it works anyway if I remember right.
Don't assume your address is static just because you're on broadband though, if you didn't order a static ip address you don't have a static ip address, it just doesn't change very often. Why don't you add a password feature to the admin panel, set a cookie, check your ip, then you'd be more or less completely safe.
My plan is to PHP detect the IP, and if it's mine, automatcally include buttons that only the admin should have
You're also going to have to think about how you handle this if you're accessing your home page remotely, or if you replace your PC.
I'm not sure you wouldn't be better off setting up a separate (password-protected) admin page. This is what I do.