技术论坛 - 查看所有帖子
   查看所有帖子 (isyol)

 到底部   前一个主题   下一个主题



Re: session_start(): Cannot send session cookie -
新进会员
注册日期:
2004/9/11 18:17
所属群组:
注册会员
帖子: 10
等级: 2; EXP: 0
HP : 0 / 25
MP : 3 / 124
离线
前几天进医院了55~
现在手上还缠着绷带 惨~
有空在把他好好改改~
:)~

2005/4/25 12:25
应用扩展 工具箱
主题 | 论坛


Re: session_start(): Cannot send session cookie -
新进会员
注册日期:
2004/9/11 18:17
所属群组:
注册会员
帖子: 10
等级: 2; EXP: 0
HP : 0 / 25
MP : 3 / 124
离线
但是能够使用 晕~
http://www.maple-story.info/admin/index.php
id demo
psw 123456

2005/3/8 12:38
应用扩展 工具箱
主题 | 论坛


Re: session_start(): Cannot send session cookie -
新进会员
注册日期:
2004/9/11 18:17
所属群组:
注册会员
帖子: 10
等级: 2; EXP: 0
HP : 0 / 25
MP : 3 / 124
离线
恩多了个空格~
去掉后又出现问题了 ~

Warning: Cannot modify header information - headers already sent by (output started at /home/maple/public_html/include/lib/user.class.php:60) in /home/maple/public_html/include/lib/user.class.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at /home/maple/public_html/include/lib/user.class.php:60) in /home/maple/public_html/include/lib/user.class.php on line 49

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/maple/public_html/include/lib/user.class.php:60) in /home/maple/public_html/include/lib/user.class.php on line 25
user.class.php

<?php

class User 
    function 
User()
        {
            
        } 
    function 
userload($name)
        {
            
$sql="SELECT * FROM `users` WHERE `name`='$name'  ";

            include_once 
"../include/sort.class.php";

            
$_user= new art_sort();

            
$query=$_user->_query($sql);

            
$this->user=$_user->_fetch($query);

            return 
$this->user;
        }
    function 
createSession($userinfo)
        {

 
session_start();

            
$_SESSION['info']=$userinfo;


        } 
    function 
deleteSession()
        {
            
session_start();

            unset(
$_SESSION['info']);
    
        } 
    function 
assignUser(&$role
        {
    
        } 
    function 
deassignUser(&$role
        {
    
        } 
    function 
createCooike($info)
        {
            
setcookie ("userinfo['name']"$info['name'], time()+3600);
            
setcookie ("userinfo['psw']"$info['psw'], time()+3600);

        }

var 
$user;



?>




2005/3/8 12:31
应用扩展 工具箱
主题 | 论坛


session_start(): Cannot send session cookie -
新进会员
注册日期:
2004/9/11 18:17
所属群组:
注册会员
帖子: 10
等级: 2; EXP: 0
HP : 0 / 25
MP : 3 / 124
离线
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/maple/public_html/admin/index.php:1) in /home/maple/public_html/admin/index.php on line 61

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/maple/public_html/admin/index.php:1) in /home/maple/public_html/admin/index.php on line 61

为什么 我在本机上测试没有问题 ~穿到网络上就出现了~?

2005/3/6 14:17
应用扩展 工具箱
主题 | 论坛


提交连结
新进会员
注册日期:
2004/9/11 18:17
所属群组:
注册会员
帖子: 10
等级: 2; EXP: 0
HP : 0 / 25
MP : 3 / 124
离线
冒险岛主题站
http://maple-story.info/
冒险岛主题站
网站动态 │游戏新闻 │游戏指南 │游戏技巧 │意见建议 │其他
pm发不出去 网站提交连接也不行 郁闷
另外
域名解吸
想把 zsky.com.ru 也解吸到maple-story.info
id:maple
或者+一个 Parked Domains
可以吗 thanks~

2004/9/15 17:14
应用扩展 工具箱
主题 | 论坛



 回顶部



[高级搜索]