






/******************************************************************************
  Check if the <form> POST is comming from this server
*******************************************************************************/
if (!is_user() && $_SERVER['REQUEST_METHOD'] == 'POST' && empty($CPG_SESS['user']['uri'])) 
    {
        if (PHPVERS >= 43) {
            trigger_error('<pre>'.print_r($CPG_SESS, true).'</pre>', E_USER_WARNING);
        }
    cpg_error('Please enable cookies to post on this site. If you feel that you have reached this message in error please go back to the preceding page and post again');
    } /******************************************************************************
  Check if the <form> POST is comming from this server
*******************************************************************************/
if (!substr($_SERVER['HTTP_USER_AGENT'], 0, 11 ) == 'UniUploader' ) 
{
    if (!is_user() && $_SERVER['REQUEST_METHOD'] == 'POST' && empty($CPG_SESS['user']['uri'])) 
    {
        if (PHPVERS >= 43) {
            trigger_error('<pre>'.print_r($CPG_SESS, true).'</pre>', E_USER_WARNING);
        }
    cpg_error('Please enable cookies to post on this site. If you feel that you have reached this message in error please go back to the preceding page and post again');
    }
} 


Users browsing this forum: No registered users and 1 guest