php - Use of internal libraries in an external listener -
I am currently implementing a payment system for which an ok.php and ko.php URL is required. When getting confirmation in Ok.php, I want to check data matches with me through the library first (this is a method), and then send an email from the custom mailer class. The problem is that those libraries are fully protected from direct access:
& lt ;? Php if (define ('BASEPATH')) exit ('no direct script entry is allowed'); As ok.php is accessed by the payment processor, it can not be loaded through CodeIgniter and thus it is not defined as 'BASEPATH' and access to those libraries is not as defined by
Could.
I found a post about access to the CodeIgniter superobject, but I am worried about its security, and there are no other possible loading results in the "desired" way.
What would be the right way to create an audience URL and use the CodeIgniter function?
Comments
Post a Comment