VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Just a snippet of what I saw in IE.

    guess I am not really supposed to see the php code. Something wrong or you messin with stuff Baldrick?


    <?php
    /************************************************** *************************
    * viewtopic.php
    * -------------------
    * begin : Saturday, Feb 13, 2001
    * copyright : (C) 2001 The phpBB Group
    * email : support@phpbb.com
    *
    * $Id: viewtopic.php,v 1.186.2.6 2002/05/14 15:19:20 psotfx Exp $
    *
    *
    ************************************************** *************************/

    /************************************************** *************************
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation; either version 2 of the License, or
    * (at your option) any later version.
    *
    ************************************************** *************************/

    define('IN_PHPBB', true);
    $phpbb_root_path = './';
    include($phpbb_root_path . 'extension.inc');
    include($phpbb_root_path . 'common.'.$phpEx);
    include($phpbb_root_path . 'includes/bbcode.'.$phpEx);

    //
    // Start initial var setup
    //
    if ( isset($HTTP_GET_VARS[POST_TOPIC_URL]) )
    {
    $topic_id = intval($HTTP_GET_VARS[POST_TOPIC_URL]);
    }
    else if ( isset($HTTP_GET_VARS['topic']) )
    {
    $topic_id = intval($HTTP_GET_VARS['topic']);
    }

    if ( isset($HTTP_GET_VARS[POST_POST_URL]))
    {
    $post_id = intval($HTTP_GET_VARS[POST_POST_URL]);
    }

    $start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;

    if ( !isset($topic_id) && !isset($post_id) )
    {
    message_die(GENERAL_MESSAGE, 'Topic_post_not_exist');
    }

    //
    // Find topic id if user requested a newer
    // or older topic
    //
    if ( isset($HTTP_GET_VARS['view']) && empty($HTTP_GET_VARS[POST_POST_URL]) )
    {
    if ( $HTTP_GET_VARS['view'] == 'newest' )
    {
    $header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';

    if ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) )
    {
    $session_id = $HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid'];
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    i'm messin.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!