sinful Posted March 16, 2006 Share Posted March 16, 2006 Hello,Im trying to include my forums on a page at this url [a href=\"http://team-ata.com/forums.php\" target=\"_blank\"]http://team-ata.com/forums.php[/a] and my forums are at this url or you would call it folder [a href=\"http://team-ata.com/forum/\" target=\"_blank\"]http://team-ata.com/forum/[/a]Im using this code to try and include the forums on my other page:<?include("forum/index.php");?>And it will not work it cant find all the other files that are in the forum folder..Any help on what i have todo or what i should do would be great.Thanks Donnie Quote Link to comment https://forums.phpfreaks.com/topic/5100-include/ Share on other sites More sharing options...
ober Posted March 16, 2006 Share Posted March 16, 2006 You cannot include an entire set of forums in another page. It's impossible. If you want a specific URL to go to your forums, just use the header() call on the forums.php page to redirect the user to the main page of the forums. Quote Link to comment https://forums.phpfreaks.com/topic/5100-include/#findComment-18072 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.