| Server IP : 104.21.21.239 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/banners/domains/stagemag/ |
Upload File : |
<?php
/**
* gethelp.php -- Get Help / Contact form
* Converted from gethelp.php
*/
header('Location: /newmain-help.php', true, 301);
exit;
/* ── Below is unreachable (preserved from original) ── */
require_once __DIR__ . '/functions.php';
require_once __DIR__ . '/email.php';
init_session();
$headercontent = '<title>Get Help on BroadwayWorld Stage Mag</title>
<meta name="description" content="Contact BWW Customer Service">
<link rel="canonical" href="https://stagemag.broadwayworld.com/gethelp.php">';
include __DIR__ . '/registerheader.php';
?>
<div id="content" style="max-width: 800px;">
<div id="content-header">
<h2> Get Help</h2>
</div>
<div class="container-fluid">
<?php if (isset($_POST['emailaddress'])): ?>
<?php
if (!isset($_POST['notes']) || trim($_POST['notes']) === '') {
echo 'Error, no message. Please go back and correct.';
exit;
}
$firstname = $_POST['firstname'] ?? '';
$emailaddress = $_POST['emailaddress'] ?? '';
$captchaText = $_POST['captchatext'] ?? '';
$chide = $_POST['chide'] ?? '';
if ($firstname !== '' && strlen($emailaddress) > 3 && $captchaText === $chide) {
$subject = 'Stage Mag Support Request - ' . ($_POST['company'] ?? '');
$body = htmlspecialchars($_POST['firstname'] ?? '') . ' ' . htmlspecialchars($_POST['lastname'] ?? '') . "<br>\n"
. htmlspecialchars($_POST['title'] ?? '') . "<br>\n"
. htmlspecialchars($_POST['company'] ?? '') . "<p></p>\n"
. htmlspecialchars($_POST['notes'] ?? '');
send_email(
'[email protected]',
$subject,
$body,
'[email protected]',
true,
$emailaddress
);
echo 'Thank you, your request has been sent.';
} else {
echo 'Error, invalid captcha or information.';
}
?>
<?php else: ?>
<form action="gethelp.php" method="post" enctype="multipart/form-data">
<p>
<table>
<tr><td style="padding:4px;"><strong>E-Mail:</strong></td>
<td style="padding:4px;"><input type="email" name="emailaddress" required size="20" maxlength="60"></td></tr>
<tr><td style="padding:4px;"><strong>First Name: </strong></td>
<td style="padding:4px;"><input name="firstname" required></td></tr>
<tr><td style="padding:4px;"><strong>Last Name:</strong></td>
<td style="padding:4px;"><input name="lastname" required></td></tr>
<tr><td style="padding:4px;"><strong>Job Title:</strong></td>
<td style="padding:4px;"><input name="title" required></td></tr>
<tr><td style="padding:4px;"><strong>Company:</strong></td>
<td style="padding:4px;"><input name="company" required></td></tr>
</table>
<tr><td valign=top colspan=2>
<td valign=top><br><textarea name="Notes" rows="10" cols="60" placeholder="Enter Notes/Questions"></textarea>
<br>
<?php $x = rand(1, 10000); ?>
<strong><font size=-1>Enter the code number shown:
<strong><font size=+1><?= $x ?></font></strong>
<input name="captchaText" type="text" size="15" maxlength="100">
<input name="chide" value="<?= $x ?>" type="hidden" />
<p>
<input type="Submit" value="Submit Form" style="padding:6px;font-size: 14pt;"><br><br>
</center></form>
<?php endif; ?>
</div></div>
<!--Footer-part-->
<br><br><br><br>
<?php include __DIR__ . '/footer.php'; ?>