Submit
Path:
~
/
home
/
getwphos
/
public_html
/
kingpanel
/
wp-content
/
plugins
/
pixelwars-core
/
themes
/
global
/
File Content:
send-mail.php
<?php if (! defined(ABSPATH)) { $pagePath = explode('/wp-content/', dirname(__FILE__)); include_once(str_replace('wp-content/' , '', $pagePath[0] . '/wp-load.php')); } /* ============================================================================================================================================= */ // site owner $site_name = get_bloginfo('name'); $sender_domain = trim($_POST['sender_domain']); $to = get_option('pixelwars_core_contact_form_to', ""); $subject = trim($_POST['subject']); /* ============================================================================================================================================= */ // contact form fields $name = trim($_POST['name']); $email = trim($_POST['email']); $message = trim($_POST['message']); /* ============================================================================================================================================= */ // check for errors $error = false; if ( $name === "" ) { $error = true; } elseif ( $email === "" ) { $error = true; } elseif ( $message === "" ) { $error = true; } elseif ( $to === "" ) { $error = true; } /* ============================================================================================================================================= */ // captcha $captcha = trim( $_POST['captcha'] ); if ( $captcha == 'yes' ) { $sum_user = trim( $_POST['sum_user'] ); $sum_random = trim( $_POST['sum_random'] ); if ( $sum_user != $sum_random ) { $error = true; } } /* ============================================================================================================================================= */ // send mail if ( $error == false ) { $body = "Name: $name" . "\n\n" . "Email: $email" . "\n\n" . "Message: $message"; $headers = "From: " . $site_name . ' <' . $sender_domain . '> ' . "\r\n"; $headers .= "Reply-To: " . $name . ' <' . $email . '> ' . "\r\n"; $mail_result = mail( $to, $subject, $body, $headers ); if ( $mail_result == true ) { echo 'success'; } else { echo 'unsuccess'; } } else { echo 'error'; } ?>
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
css
---
0755
img
---
0755
js
---
0755
shortcode-generator
---
0755
dashboard-admin-notice.php
1067 bytes
0644
dashboard-welcome-panel.php
4841 bytes
0644
dashboard-widget.php
2449 bytes
0644
enqueue-styles-scripts.php
1853 bytes
0644
fonts.php
67526 bytes
0644
image-sizes.php
493 bytes
0644
image_max_dimensions.php
814 bytes
0644
index.php
29 bytes
0644
meta-box-featured-media.php
5757 bytes
0644
meta-box-page-settings.php
32173 bytes
0644
meta-box-post-header-style.php
117 bytes
0644
post-type-portfolio-2.php
2685 bytes
0644
post-type-portfolio.php
2809 bytes
0644
posts-columns.php
1188 bytes
0644
pre-get-posts.php
614 bytes
0644
related-posts.php
5234 bytes
0644
send-mail.php
2324 bytes
0644
share-links-2.php
4977 bytes
0644
share-links.php
4969 bytes
0644
widget-about-me.php
6338 bytes
0644
widget-animated-search.php
2742 bytes
0644
widget-button.php
9236 bytes
0644
widget-icon-box.php
10279 bytes
0644
widget-intro.php
12915 bytes
0644
widget-link-box.php
9289 bytes
0644
widget-main-slider.php
41872 bytes
0644
widget-social-media-icon.php
12302 bytes
0644
N4ST4R_ID | Naxtarrr