• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

zNote v1.5 Search Character dont work

samuelav3

Member
Joined
Aug 18, 2014
Messages
95
Reaction score
5
hey friends someone tells me what is the problem that I have?
I try to find a name but sends me to index.php

i'm here:

Code:
/characterprofile.php?name=Xmaster


I put a name and 'submit'
and sends me here:
Code:
/index.php

My characterprofile.php
Code:
 //Done.
                                                        ?>
                                        </li>
                                <?php
                                }
                                ?>
                                <BR><BR><FORM ACTION='characterprofile.php?name= 'name METHOD=post><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><tr class="yellow"><td colspan="2" style="font-weight:bold;color:white">Search Character</td></tr>
                                <TR><TD BGCOLOR="#D4C0A1">Name:<INPUT NAME='name' VALUE=''SIZE=29 MAXLENGTH=29><INPUT TYPE=image NAME='Submit' SRC='layout\images\global\buttons/sbutton_submit.gif' VALUE=''SIZE=29 MAXLENGTH=29 BORDER=0 WIDTH=120 HEIGHT=18> </TD></TR></TABLE></TD></TR></TABLE></FORM>';


                               
                                <!-- END CHARACTER LIST -->
                                                <!-- END PROFILE MARKUP HERE-->
              
                <?php
        } else {
                echo htmlentities(strip_tags($name, ENT_QUOTES)).' does not exist.';
        }
} else {
        header('Location: index.php');
}
include 'layout/overall/footer.php'; ?>
 
Try to change:
Code:
header('Location: index.php');
to:
Code:
header('Location: characterprofile.php');
 
Back
Top