Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 20:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



i need help with REG

Discussion on i need help with REG within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2007
Posts: 56
Received Thanks: 3
i need help with REG

when i upload all the files and config them i get errors on the register.php

they are

Code:
Notice: Use of undefined constant step2 - assumed 'step2' in C:\WINDOWS\addins\e\EasyPHP 3.0\www\reg\dekaron\register.php on line 5

Notice: Use of undefined constant step2 - assumed 'step2' in C:\WINDOWS\addins\e\EasyPHP 3.0\www\reg\dekaron\register.php on line 5
and


Code:
Notice: Use of undefined constant step2 - assumed 'step2' in C:\WINDOWS\addins\e\EasyPHP 3.0\www\reg\dekaron\register.php on line 18
can any 1 tell me how to fix this or upload a new website thanks.
str8killa is offline  
Old 04/28/2009, 08:26   #2
 
elite*gold: 0
Join Date: Apr 2007
Posts: 316
Received Thanks: 94
Quote:
Originally Posted by str8killa View Post
when i upload all the files and config them i get errors on the register.php

they are

Code:
Notice: Use of undefined constant step2 - assumed 'step2' in C:\WINDOWS\addins\e\EasyPHP 3.0\www\reg\dekaron\register.php on line 5

Notice: Use of undefined constant step2 - assumed 'step2' in C:\WINDOWS\addins\e\EasyPHP 3.0\www\reg\dekaron\register.php on line 5
and


Code:
Notice: Use of undefined constant step2 - assumed 'step2' in C:\WINDOWS\addins\e\EasyPHP 3.0\www\reg\dekaron\register.php on line 18
can any 1 tell me how to fix this or upload a new website thanks.
Copy and Paste Lines 5 & 18 Please. Most likely you messed up on the ODBC database, =/ Thats most peoples issue.
ADHDKiD is offline  
Old 04/28/2009, 16:39   #3
 
elite*gold: 0
Join Date: Jul 2007
Posts: 56
Received Thanks: 3
Code:
<?php

require_once "config.inc.php";

if(isset($_SESSION[step2]) && isset($_POST[step2])) {
    //提取的最后一步
    $errorStr = formStep3();
    if($errorStr!=null){
        require_once('register.html');
    }else{
        require_once('success.html');
		$suc=$success;
		unset($_SESSION[step2], $_SESSION[step1]);
    }}
else {
    //Username
    require_once('register.html');
    $_SESSION[step2] = 1;	}


//判断用户提交的表单的数据的 准确性 和 保存提交数据 的函数
function formStep3(){
    $errors = array();
    $errorStr = null;
str8killa is offline  
Old 04/28/2009, 23:17   #4
 
elite*gold: 0
Join Date: Jul 2007
Posts: 56
Received Thanks: 3
still cant fix it ;(
str8killa is offline  
Reply




All times are GMT +1. The time now is 20:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.