KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/cosma/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/cosma/contact_process.php
<?php
extract($_POST);

$regex = '^([._A-Za-z0-9-]+[._A-Za-z0-9-]*)@(([A-Za-z0-9-]+\.)*([A-Za-z0-9-]+)(\.[A-Za-z]{2,3}))$';
$send = "no";

if($i_name=="" || $i_message==""){
	$message = "<p><b>You did not enter your name or a message.<br><br>Please <a href=\"javascript:history.go(-1)\">return to the contact form</a> and do so.</b></p>";
}elseif(!eregi($regex, $i_email)){
	if(!$i_email){
		$message = "<p><b>Thank You</b></p>\nThe information you submitted has been delivered.<br><br>However, it appears that you did not provide an email address - please <a href=\"javascript:history.go(-1)\">make sure</a> your message indicates an alternate contact method.";
		$send = "yes";
	}else{
		$message = "<p><b>It appears that you did not enter a valid email address.</b></p>You may omit this information, but please indicate an alternate contact method in your message.<br><br>The information you entered has <b>not</b> been delivered.<br><br><a href=\"javascript:history.go(-1)\">Return to the contact form.</a>";
	}
}else{

	$message = "<p><b>Thank You</b></p><p>The information you submitted has been delivered.</p>";
	$send = "yes";
}

if($send=="yes"){

$i_message = stripslashes($i_message);
$sending = mail("[email protected]", "Contact from AmsesCosma.com ($i_name)",
"The following information was submitted to the contact page form:

        Name: $i_name
       Email: $i_email

Message:
$i_message

", "From: amsescosma.com/contact <[email protected]>\r\nReply-to: $i_email");

}

$message = $message." <!-- $sending -->";

?>
<html>
<head>
	<title>Amses Cosma</title>
	<script language="javascript"><!--
	
	//-->
	</script>
	<style type="text/css">
	<!--
	.description {font: 11px verdana, arial, helvetica, sans serif; color:#222222;}
	-->
	</style>
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" margin="0,0" background="img/bg.gif">
<table width="742" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td>
			<table width="742" cellspacing="0" cellpadding="0" border="0">
				<tr>
					<td>
					<img src="img/ac_head_1.jpg" alt="Amses Cosma Studio" width="742" height="47" border="0">
					</td>
				</tr>
				<tr>
					<td>
						<table width="742" cellspacing="0" cellpadding="0" border="0">
							<tr>
								<td colspan="4">
									<img src="img/px_null.gif" width="742" height="1" alt=" ">
								</td>
							</tr>	
					
							<tr>
								<td>
									<a href="sitespecific.html"><img src="img/nav_1_sitespec_norm.gif" alt=" " width="182" height="16" border="0"></a>
								</td>
								<td>
									<a href="doorswinswalls.html"><img src="img/nav_2_dww_norm.gif" alt=" " width="182" height="16" border="0"></a>
								</td>
								<td>
									<a href="clients.html"><img src="img/nav_3_clients_norm.gif" alt=" " width="233" height="16" border="0"></a>
								</td>
								<td width="143">
									<a href="gallery.html"><img src="img/nav_7_gallery_norm.gif" alt=" " width="145" height="16" border="0"></a>
								</td>
							</tr>
							
							<tr>
								<td colspan="4">
									<img src="img/px_null.gif" width="742" height="1" alt=" ">
								</td>
							</tr>
							
							<tr>
								<td>
									<a href="about.html"><img src="img/nav_4_about_norm.gif" alt=" " width="182" height="16" border="0"></a>
								</td>
								<td>
									<a href="#"><img src="img/nav_5_contact_in.gif" alt=" " width="182" height="16" border="0"></a>
								</td>
								<td colspan="2">
									<a href="ac_lighting/"><img src="img/nav_6_aclight_norm.gif" alt=" " width="378" height="16" border="0"></a>
								</td>
							</tr>
										
							<tr>
								<td colspan="4">
									<img src="img/px_null.gif" width="742" height="2" alt=" ">
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td>
			<table width="742" cellspacing="0" cellpadding="0" border="0">
				<tr>
					<td width="21">
						<img src="img/px_null.gif" width="21" height="1" alt=" ">
					</td>
					<td width="114" valign="top">
						<table width="114" cellspacing="0" cellpadding="0" border="0">
							<tr>
								<td valign="top">
								<!--sidebar-->
									<table width="114" cellspacing="0" cellpadding="0" border="0">
									<tr><td><img src="img/px_null.gif" width="1" height="218" alt=" "></td></tr>
									<tr><td><img src="img/sidebar_contactinfo.gif" alt=" " width="114" height="105" border="0"></td></tr>
									</table> 
								</td>
							</tr>
						</table>
					</td>
					<td width="2">
						<img src="img/px_null.gif" width="2" height="1" alt=" ">
					</td>
					<td width="605" background="img/lighttile.gif" valign="top">
					<!--content-->
					<table width="587" cellspacing="0" cellpadding="12" border="0">
								<tr><td width="125" class="description">
								<?php echo $message; ?>
								</td></tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

</body>
</html>

Anon7 - 2021