![]() |
Use my class - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Use my class (/showthread.php?tid=88034) |
Use my class - csanesz - 07-10-2023 Hi, I have a class file, APPPATH.'ThirdParty/EmailValidation/EmailValidation.php' this file is found: https://github.com/nsgeorgi/verify-email/blob/master/class.verifyEmail.php In simple PHP examle this file using: PHP Code: include_once 'class.verifyEmail.php'; How to use this EmailValidation class, in my controllers? RE: Use my class - kenjis - 07-10-2023 The example seems to work in your controllers. Something wrong? RE: Use my class - brabus - 07-13-2023 app/Core.php PHP Code: <?php app/ThirdParty/EmailValidation/EmailValidation.php PHP Code: <?php class body from github... |