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 defined('BASEPATH') OR exit('No direct script access allowed'); | |
| class SMTPMail extends CI_Controller { | |
| /** | |
| * @author Praneeth Nidarshan | |
| * @see [email protected]:8d54499e903d35155af6.git | |
| */ | |
| public function index() | |
| { |
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 | |
| class compareImages | |
| { | |
| private function mimeType($i) | |
| { | |
| /*returns array with mime type and if its jpg or png. Returns false if it isn't jpg or png*/ | |
| $mime = getimagesize($i); | |
| $return = array($mime[0],$mime[1]); | |
| switch ($mime['mime']) |
NewerOlder