ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 12563


Ignore:
Timestamp:
Aug 8, 2009, 5:04:33 PM (12 years ago)
Author:
shingo
Message:

#4236:SESSIONで値を引き回すように変更

Location:
OpenPNE/trunk/webapp/modules/pc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/do/o_regist_prof.php

    r11350 r12563  
    116116            @session_start();
    117117            $_SESSION['prof'] = $_REQUEST;
    118 
    119             $_REQUEST['prof'] = $prof;
     118            foreach ($_POST as $key => $value) {
     119                if ($key != 'sid') unset($_POST[$key]);
     120            }
    120121            openpne_forward('pc', 'page', 'o_regist_prof_confirm');
    121122            exit;
  • OpenPNE/trunk/webapp/modules/pc/page/o_regist_prof_confirm.php

    r5568 r12563  
    3131        $pre = db_member_c_member_pre4sid($sid);
    3232
     33        session_name('OpenPNEpcregist');
     34        @session_start();
     35        $prof = $_SESSION['prof'];
     36        $c_member_profile_list = db_member_check_profile($prof['profile'], $public_flag_list);
     37        $prof['profile'] = $c_member_profile_list;
    3338        $this->set('inc_page_header', fetch_inc_page_header('regist'));
    3439
    3540        $this->set('sid', $sid);
    36         session_name('OpenPNEpcregist');
    37         @session_start();
    38         $this->set('prof', $_REQUEST['prof']);
     41        $this->set('prof', $prof);
    3942        $this->set('pc_address', $pre['pc_address']);
    4043        $query_list = p_common_c_password_query4null();
    41         $query_id = $_REQUEST['c_password_query_id'];
     44        $query_id = $prof['c_password_query_id'];
    4245        $this->set('password_query_name', $query_list[$query_id]);
    4346
Note: See TracChangeset for help on using the changeset viewer.