include does not work |
[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
[eluser]Unknown[/eluser]
Code: $s=$_GET['s']; where there is 'echo' there are include..
[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?
[eluser]InsiteFX[/eluser]
PHP Net - include Example #3 include() through HTTP: Code: <?php So maybe if you add the http:/ it may work! InsiteFX
[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 |
Welcome Guest, Not a member yet? Register Sign In |