I’m new with cakephp and I’ve just finished putting my controllers, models and views in place.I am able to get information from my database through the browser, but i want to achieve this using a seperate php file where i perform a get request. How can i perform a GET request from a separate php file to a uri in my cakephp platform?
I’m new with cakephp and I’ve just finished putting my controllers, models and views
Share
I am not sure if this is what you want to accomplish but,
If you want to get the output of your views from another php file (script?), you could use
file_get_contents($url), where$urlis the uri to your cakephp app.Hope this helps