403Webshell
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/home2/domains/celeberateshowcase.com/_ARCHIVE/cc-test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/domains/celeberateshowcase.com/_ARCHIVE/cc-test/php_mail_test.php
<?php
// Test PHP Email script by Nate Baldwin, www.mindpalette.com
unset($email);
unset($message);
$errors = "";
$formStatus = (isset($HTTP_POST_VARS['formStatus'])) ? $HTTP_POST_VARS['formStatus'] : "";
if ($formStatus == "submitted") {
	$email = (isset($HTTP_POST_VARS['email'])) ? $HTTP_POST_VARS['email'] : "";
	if ($email == "") $errors .= "Please enter your email address before submitting form.<br>\n";
	$emailPattern = "^[A-Z0-9._-]+@[A-Z0-9._-]+\.[A-Z]{2,4}$";
	if ($email != "" AND !eregi($emailPattern, $email)) 
		$errors .= "The email address entered does not to be a valid address for testing.<br>\n";
	if ($errors == "") {
		$subject = "PHP Email Test";
		$message = "If you receive this email, your server has successfully sent an email using PHP.\n";
		@$mailStatus = mail($email, $subject, $message);
		if (!$mailStatus) $errors .= "Server error - PHP has not been configured to send out emails yet, sorry.<br>\n";
		}
	}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

	<head>
		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
		<meta name="generator" content="Adobe GoLive">
		<title>Test PHP Email Configuration</title>
		<style type="text/css" media="screen"><!--
body, div, td, p  { color: black; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #c8c8c8 }
a { color: #00417d; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none }
a:link { color: #00417d; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none }
a:visited { color: #00417d; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none }
a:hover { color: #0064ff; font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: underline }
.error { color: #c80019 }
.success { color: #00417d }
h1   { color: #00417d; font-size: 32px; font-family: "Times New Roman", Georgia, Times; font-weight: normal }
strong { font-size: 16px; font-weight: bold }
form { margin: 0; padding: 6px 0 }
--></style>
	</head>

	<body bgcolor="#ffffff">
		<div align="center">
			<h1>Test PHP Email</h1>
			<p>To test your server's PHP email configuration, enter your valid<br>
				email address below and hit the &quot;test now&quot; button.</p>
			<hr width="75%">
			<form id="FormName" action="#" method="post" name="FormName">
				your email address:&nbsp;<input type="text" name="email" size="32">&nbsp;<input type="hidden" name="formStatus" value="submitted"><input type="submit" name="submitButtonName" value="test now">
			</form>
<?php
if ($formStatus == "submitted") {
	if ($errors != "") {
		print("
			<hr width=\"75%\">
			<span class=\"error\"><strong>ERROR:</strong><br>
			$errors</span><br>
			&nbsp;<br>
			");
		} else {
		print("
			<hr width=\"75%\">
			<span class=\"success\"><strong>Success!</strong><br>
			Email message has been sent.<br>
			If you do not receive your email, try a different address.<br>
			If still no luck, your server's outgoing email may not be working right.<br>
			&nbsp;</span>
			");
		}
	}
?><br>
			&nbsp;<br>
			&nbsp;<br>
			&nbsp;<a href="http://www.mindpalette.com">www.mindpalette.com</a><br>
			&nbsp;</div>
	</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit