Hey!
I am having problems with my site when a user clicks the submit button for any form. When it is clicked it brings you to a page that doesn't exist (not found). Here is a tidbit of code:
PHP Code:
/* Set referrer page */
if(isset($_SESSION['url'])){
$this->referrer = $_SESSION['url'];
}else{
$this->referrer = "/";
}
/* Set current url */
$this->url = $_SESSION['url'] = $_SERVER['PHP_SELF'];
}
This is in a process php file. It is supposed to process the forms. Referrer is a variable that is used in other pages (like the login/register/forgotpass/admin php scripts) to bring the user back for an error/incorrect username or password or just bring the user back to the page when logging in. However you can't carry out the process since it brings you to a page that can't be found.
I checked the mysql data base and it is going through because it showed me registered on there.
Oh and if this helps, this is jpmaster77's advanced login script. Maybe someone knows what it is.
Thanks.
|