//Page for help /*********************************************** * Copyright (c) 2002-4 TheGlasgowStory & HATII * * Written by Brian Aitken * ***********************************************/ //session needed for links & photo album session_start(); //need to register user's IP address for all logs //Only need to do this once per user $isip = session_is_registered("userip"); if (!$isip) { session_register("userip"); if (getenv(HTTP_X_FORWARDED_FOR)) $userip=getenv(HTTP_X_FORWARDED_FOR); else $userip=getenv(REMOTE_ADDR); } include("error.inc"); include("staff/connect.php"); include("session.inc"); include("logon.php"); include("inc.inc"); //assign error stuff $head = "An error has occurred with TheGlasgowStory"; $back = "index.php"; $backtext = "Either click your browser's 'back' button or click on this link to return to TheGlasgowStory index page"; $period = "N"; format_pre($period, "TheGlasgowStory", $feature, $_COOKIE); if(!$sub || !$email) { ?>
Leave your e-mail address here, and we'll contact you with further details.
} else { $email = htmlspecialchars($email); $insert = mysql_query("insert into ogs_testusers set email = '$email'"); //now email me to let me know someone added $worked = mail("b.aitken@hatii.arts.gla.ac.uk", "OGS Test User submitted", "A person with the email address '".$email."' has signed up with the OGS test users"); ?>We will e-mail you with further details once OurGlasgowStory is ready to use.
} format_post($select_num, $user, "ogs_signup.php");