Code: Select all
if(isset($_POST))
{
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
i did do a search for is_set_post so i could use $request in 3.1 and 3.0 but could not find is_set_post anywhere in 3.0.Illegal use of $_POST. You must use the request class or request_var() to access input data.
So how is that post check suppose to be written when the post feed is not comming from phpbb its comming from a normal php file? Do i need to move it under the includes?
I have no issue using the if post in my 3.0.13PL install, but 3.1.+ does not like it... can you tell me why please?
thanks
