public function generate($honey_name, $honey_time)
    {
        // Encrypt the current time
        $honey_time_encrypted = $this->getEncryptedTime();

        $html = '<div class="' . $honey_name . '_wrap" style="display:none;"><input name="' . $honey_name . '" type="text" value="" id="' . $honey_name . '"/><input name="' . $honey_time . '" type="text" value="' . $honey_time_encrypted . '"/></div>';

        return $html;
    }
public function generate($honey_name, $honey_time)
    {
        // Encrypt the current time
        $honey_time_encrypted = $this->getEncryptedTime();

        $html = '<div class="' . $honey_name . '_wrap" style="display:none;"><input name="' . $honey_name . '" type="text" value="" id="' . $honey_name . '"/><input name="' . $honey_time . '" type="text" value="' . $honey_time_encrypted . '"/></div>';

        return $html;
    }
public function generate ( $ honey_name , $ honey_time ) { // Encrypt the current time $ honey_time_encrypted = $ this -> getEncryptedTime ( ) ; $ html = '<div class="' . $ honey_name . '_wrap" style="display:none;"><input name="' . $ honey_name . '" type="text" value="" id="' . $ honey_name . '"/><input name="' . $ honey_time . '" type="text" value="' . $ honey_time_encrypted . '"/></div>' ; return $ html ; }
Generate a new honeypot and return the form HTML
@param  string $honey_name
@param  string $honey_time
@return string
Generate a new honeypot and return the form HTML