Call A Raw PHP File |
Hello everyone,
I'm currently working on a way to be able to call raw PHP files inside the Code Igniter's application folder. The idea is that we have an internal tool that accepts PHP files as input. It then runs these PHP files for processing. The way it can run is not limited to the command line but can also be independent and can be called via the browser. I have tried a couple of solutions like the following: 1. Created a raw PHP file and included index.php file 2. Create a route with route name as follows, "{file}.php", then reference it to the correct controller/method. 3. Hooks All of these doesn't give me the solution that I want. I'm asking the community for suggestions to solve my issue. Or recommendations if this kind of task is not applicable on Code Igniter. I'm currently using Code Igniter 2. Thanks in advance. Regards, Rolly |
Messages In This Thread |
Call A Raw PHP File - by minianorollyc - 01-16-2017, 10:05 PM
RE: Call A Raw PHP File - by skunkbad - 01-16-2017, 11:51 PM
RE: Call A Raw PHP File - by minianorollyc - 01-17-2017, 12:22 AM
RE: Call A Raw PHP File - by skunkbad - 01-17-2017, 03:53 PM
RE: Call A Raw PHP File - by ivantcholakov - 01-17-2017, 01:58 AM
|