This is the signup.php
hope you find the error here!
[php]
<?php
/*
* © 2014 LJScripts.com and iTechDev - All Rights Reserved
*/
@session_start();
require("vars.php");
require("vars_array.php");
require("functions.php");
$sql = db_conn();
$ref = get_ref();
if (strcmp(strtolower($_SERVER['QUERY_STRING']), 'terms') == 0)
{
header("Location: terms.php?ref=$ref");
do_exit();
}
$error_msg = '';
if (isset($_POST['form']) and strcmp($_POST['form'], 'sent') == 0)
{
$email = post_var('email1');
$name = preg_replace('/[^0-9a-zA-Z_ ]/i', '', post_var('name'));
$passwd = post_var('passwd');
if (!in_array($lang, $site_langs)) $lang = $site_langs[0];
if (preg_match('/,/', $email))
{
$recon = explode(',', $email);
$email = trim($recon[0]);
}
$checkpass = true;
$error = '
There were errors in your submission, please correct the following:';
}
if (!isset($url) or empty($url)) $url = 'http://';
show_html_content('head1');
include("signup_template.php");
show_html_content('foot1');
do_exit();
?>
[/php]