--- Jonathan Duncan <[EMAIL PROTECTED]> wrote:
> This is code that I have in my index that check whether or not SSL
> is being used when accessing certain pages and if not then it
> redirects to the same address but with SSL.
>
> if ($pagename=="login" || $pagename=="signup" || $pagename=="checkou
[snip]
This used to work before I upgraded my PHP.
[/snip]
Let me guess, you upgraded without actually reading the README or update
notes. I am going to guess that register_globals = off in php.ini. You
can either fix the variables $_GET['pagename'] or turn RG back on.
--
PHP General Mailing Lis
This is code that I have in my index that check whether or not SSL is being
used when accessing certain pages and if not then it redirects to the same
address but with SSL.
if ($pagename=="login" || $pagename=="signup" || $pagename=="checkout") {
if (!$HTTPS) {
//header("Location:
https://".$_
3 matches
Mail list logo