I have a php file that was used with phpbb2 - the file does not have anything to do with phpbb2 anymore but it has includes from phpbb2 to query the db
I want to be able to remove
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . '[login to view URL]');
include($phpbb_root_path . '[login to view URL]');
that is at the top and have the file still work
The queries need to be written so they are just regular php rather than using any phpbb functions to query
the header footer includes need to removed too- I have enclosed the file - I will send the file over and then I need the edits made and Ill have you send it back to me and Ill test it - I can connect to the db so don't worry about adding that part at the top