phpbb multiforums

From: Date: Wed, 01 Sep 2004 16:10:37 +0000
Subject: phpbb multiforums
Groups: php.general 
Request: Send a blank email to php-general+get-195417@lists.php.net to get a copy of this message
Holla friends, I have a code which separates phpBB forums, but run into problems because of cookies when *switching between forums*. Should I get rid of cookies entirely (I am rewriting entire code to passing $forum variable) or something may be done (still I am learning php :) Code below: if ($forum==true) { if(is_file("$forum.php")) { setcookie ("forum", $forum, time()+31536000); include("$forum.php"); include($phpbb_root_path . 'common.'.$phpEx); } else { header("Location: index.php"); exit; } } else { include($phpbb_root_path . 'config.'.$phpEx); include($phpbb_root_path . 'common.'.$phpEx); } -- Tadas Talaikis info@xongoo.com http://www.vongoo.com (zah! free phpbb forum)

« previous php.general (#195417) next »