This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
ERROR HANDLING | |
*/ | |
//declare(strict_types=1); | |
ini_set('display_errors', '1'); | |
ini_set('display_startup_errors', '1'); | |
error_reporting(E_ALL); | |
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*** | |
Based off code from: | |
https://www.experts-exchange.com/questions/26619790/Connect-to-Mysql-through-PHP-ssh2-tunnel.html | |
Example usage: User/Pass Based Auth MySQL Proxy | |
----------------------------------------------- | |
$user_pass_config = array( | |
'user' => 'username', | |
'pass' => 'password', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<!-- Facebook sharing information tags --> | |
<meta property="og:title" content="*|MC:SUBJECT|*"> | |
<title>*|MC:SUBJECT|*</title> | |
<style type="text/css"> | |
#outlook a{ padding:0; } | |
body{ width:100% !important; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* jQuery Form Label Classes For Checkboxes and Radio Buttons | |
* | |
* Plugin adds classes to labels of checkboxes and radio buttons depending on | |
* whether the element is checked or is in focus. Aids in the application of using | |
* images to replace the actual form elements. | |
* | |
* Plugin Author: Robert B Gottier | |
* Author Website: brianswebdesign.com | |
* Author Screenname: skunkbad |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if( ! defined('BASEPATH') ) exit('No direct script access allowed'); | |
/** | |
* CodeIgniter 2.1.0 form validation external callbacks. | |
* | |
* This is part of MY_Controller.php in Community Auth, which is an open | |
* source authentication application for CodeIgniter 2.1.0 | |
* | |
* @package Community Auth | |
* @author Robert B Gottier | |
* @copyright Copyright (c) 2011, Robert B Gottier. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class MY_Upload extends CI_Upload { | |
public $destination_not_file_system = FALSE; | |
public function __construct($props = array()) | |
{ | |
parent::__construct(); |