Page 1 of 1

[SOLVED] 500 Internal Server Error

Posted: Fri Sep 11, 2009 9:13 pm
by JellyFish
I get this 500 Internal Server Error on my simple script:

Code: Select all

session_start();
 
if ($preoutParams['require_login'] && !isset($_SESSION['login']))
{
    header("Location: /login.php?redirect="+$_SERVER['REQUEST_URI']);
}
Why? Is it the location header that I'm sending?

Re: 500 Internal Server Error

Posted: Fri Sep 11, 2009 9:44 pm
by JellyFish
+ DUR! I'm using the + operator instead of the . operator.

So nevermind.