include does not work - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: include does not work (/showthread.php?tid=43251) |
include does not work - El Forum - 07-05-2011 [eluser]Unknown[/eluser] Hi, I'm new on this forum, I write because I have a problem with the 'include' in CodeIgniter (sorry for my bad English, I'm italian =) ). I have a menu white 5-6 items, and depending on what the user selects, I include a different page, but it dosen't't wordk. Can you help me, please. Thanks include does not work - El Forum - 07-05-2011 [eluser]Glazz[/eluser] Post some code to see exactly what your are doing. include does not work - El Forum - 07-05-2011 [eluser]Unknown[/eluser] Code: $s=$_GET['s']; where there is 'echo' there are include.. include does not work - El Forum - 07-05-2011 [eluser]CodeIgniteMe[/eluser] I don't think that external includes are allowed in php. What is the full error message returned after you ran this? include does not work - El Forum - 07-06-2011 [eluser]InsiteFX[/eluser] PHP Net - include Example #3 include() through HTTP: Code: <?php So maybe if you add the http:/ it may work! InsiteFX include does not work - El Forum - 07-11-2011 [eluser]antoniofrignani[/eluser] Hi, i think you have to enable allow_url_include in your php.ini for this to work. (Devi abilitare la direttiva allow_url_include di PHP nel file PHP.ini, anche se non credo che altervista ti permetta di farlo). See here: http://php.net/manual/en/filesystem.configuration.php |