<?php
/*********************/
/* */
/* Version : 5.1.0 */
/* Author : RM */
/* Comment : 071223 */
/* */
/*********************/
include_once( "./common.php" );
require_once('./source/function_common.php');
$uid=$_SGLOBAL['supe_uid'];
//--------------------------------------------------------------------------------------
session_start();
$_SESSION['SessUID']=$uid;
$acs = array('index','invite','invite1','set','newfarm');
$ac = (!empty($_GET['ac']) && in_array($_GET['ac'], $acs)) ? $_GET['ac'] : 'newfarm';
//----------------------------------------------------------------------------------------
if ( empty( $_SGLOBAL['supe_uid'] ) )
{
showmessage( "请先登录后,再访问", "do.php?ac=login" );
}
$newfarm = "yes";
$maxuid = $_SGLOBAL['db']->result( $_SGLOBAL['db']->query( "SELECT uid FROM ".tname( "plug_newfarm" )." where uid=".$_SGLOBAL['supe_uid'] ), 0 );
if ( $maxuid == NULL )
{
我想让其他的程序直接传递登陆的参数进来,应该怎么做 |