I doubt it is cleaner, I'm certainly not a pro, but it works.
I saw a great hack for Apache on Unix/Linux with .htaccess that did the same thing and loved it, use it on one of my servers.
I just wanted one that would work the same on IIS, so I made it and wanted to share it.
I did forget that you need to put a file called connect.php in the same folder with membercheck.php with your server connection varioables in it, or hardcode them into membercheck.php.
Later folks, enjoy.
|