HEX
Server: Apache
System: Linux ns517114.ip-158-69-26.net 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: urgentelectrical (1063)
PHP: 8.2.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //backups/73INC/mail.php
<?php

if (isset($_POST['email']))
{
	
	           // $Services=implode(', ',$_REQUEST['service']);
				$subject = "Contact Information";

				$message = "<table style='border-collapse: collapse' border='1' cellspacing='0' cellpadding='6'>
							<tbody>
								<tr style='background: #47B7E8; color: #ffffff;'>
									<th colspan='2'>Contact Information</th>
								</tr>
								<tr style='background: #eee;'>
									<td>Name</td><td>{$_POST['firstname']}</td>
								</tr>										
								<tr style='background: #eee;'>
									<td>Email</td><td>{$_POST['email']}</td>
								</tr>
								<tr style='background: #eee;'>
									<td>Phone</td><td>{$_POST['phone']}</td>
								</tr>							
								<tr style='background: #eee;'>
									<td>Services</td><td>{$_POST['services']}</td>
								</tr>																				
								<tr style='background: #eee;'>
									<td>Message</td><td>{$_POST['message']}</td>
								</tr>
															 
							</tbody>
						</table>";
				    $to = "enzo@73inc.nz";
					$from = $_POST['email'];
					$headers .= 'MIME-Version: 1.0'."\r\n";
					$headers ="From: admin@smegoweb.com\r\n";
					$headers .= 'Content-type:text/html;charset=iso-8859-1'."\r\n";	
					@mail($to,$subject,$message,$headers);
					
					$redirect = 'thankyou.html';

					echo "<script>window.location='{$redirect}';</script>";
			}

?>