In my code igniter project in WAMP I'm able to do this and it works:
file_get_contents('C:\wamp\www\codeigniter\application\controllers\calendarmonth.sql');
I can't seem to figure out which path to use when it's on my live shared hosting site.
When I do
file_get_contents(base_url() .'application/controllers/Calendarmonth.sql');
I get "HTTP request failed! HTTP/1.1 403 Forbidden"