Initial Commit

This commit is contained in:
Andy Dixon
2024-07-23 16:21:39 +01:00
commit 5c41c928a6
126 changed files with 26257 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
<?php
error_reporting(E_ALL & ~E_NOTICE);
@session_start();
if (isset($_SESSION['neoCMSSess']) && strstr($_SESSION['neoCMSSess'], 'neoCMSsession')) {
include_once('createsession.php');
$forgotproxy = 'https://www.neogate.com/licencing/forgotpass-serv.php?';
if ($_POST && $_POST['neoCMSUsername']) {
include_once('getpath.php');
$forgotgets = 'neoCMSSess=' . urlencode($_SESSION['neoCMSSess']) . '&neoCMSPath=' . $path . '&neoCMSAcctUser=' . urlencode($_POST['neoCMSUsername']);
header("Location:$forgotproxy$forgotgets");
} elseif ($_GET && $_GET['neoCMSSess'] == $_SESSION['neoCMSSess']) {
$m = $_GET['neoCMSPassMessage'];
echo $m;
if ($m == '0') $getmessage = "Your password was reset and an email was sent.";
elseif ($m == '1') $getmessage = "There is no such user on this domain.";
$script = '<script type="text/javascript">window.top.window.forgotReset("' . $getmessage . '");</script>';
echo $script;
}
}
?>