PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I just setup SSL on my site, and I want some of the pages to use SSL and the rest not. So like, I guess I need a way to tell if the current page is accessed at http or https and then redirect the user to https if they are at http.
Or is there some better way to do this, that I don't know or understand?