|
You last visited: Today at 17:36
Advertisement
New reg page for arcana emu (support E-mail,,etc) Made by ME
Discussion on New reg page for arcana emu (support E-mail,,etc) Made by ME within the SRO Coding Corner forum part of the Silkroad Online category.
11/28/2010, 06:03
|
#1
|
elite*gold: 0
Join Date: Nov 2009
Posts: 1,515
Received Thanks: 891
|
New reg page for arcana emu (support E-mail,,etc) Made by ME
new Reg page made by me 100%
Ver 1.0.2
- e-mail record support (on db )
- Secret Q record support (on db )
- Secret Answer record support (on db )
- new style
- Anti copy source ( no More right click )
-fixed erro on line 38
-removed (creat acc from reg.php)
-add Youtube code to view yr server video
Ver 1.0.0
it have
- e-mail record support (on db )
- Secret Q record support (on db )
- Secret Answer record support (on db )
- new style
- Anti copy source ( no More right click )
( i know it maybe buged [ i didn't test it  ] )
follow those
(Look Over here)----------------------> U Must Update yr db
the modified db in the reg folder
Download
# request Closed Every One Removed the copy right i have more than 75 Downloading !! for ver. 1.0.1
and 34 for ver. 1.0.2
and all of copy right's have been removed
So i won't fix any thing again
Help yrself fixing the erro's
|
|
|
11/28/2010, 06:15
|
#2
|
elite*gold: 0
Join Date: Nov 2010
Posts: 76
Received Thanks: 7
|
Thank you, Much Thanks
|
|
|
11/28/2010, 06:29
|
#3
|
elite*gold: 0
Join Date: Nov 2010
Posts: 76
Received Thanks: 7
|
Error on line 38
Try to register
reg.php
Code:
<style type="text/css">
<!--
body,td,th {
font-family: MV Boli, Arial, Helvetica, sans-serif;
font-size: 15px;
color: #FFFFFF;
}
body {
background-color: #FFFFFF;
}
-->
</style>
<?php
//////////////////////////////////////////////////////////////////////////////////////
// IMPORTANT!!!!!!
// SEARCH FOR >>>>> YOUR_DATABASE <<<<< AND replace it with your database NAME!
// Xsense
//////////////////////////////////////////////////////////////////////////////////////
$mssql = array(
'host' => "pmetzler-PC\SQLEXPRESS", //Your mssql host goes here
'user' => "pmetzler-PC\pmetzler", //Your mssql username goes here
'pass' => "" //Your mssql password goes here
);
function anti_injection($sql) {
$sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
$sql = trim($sql);
$sql = strip_tags($sql);
$sql = addslashes($sql);
return $sql;
}
if($_POST['activ'] == '1') {
$accname = anti_injection($_POST['accname']);
$accpass1 = anti_injection($_POST['accpass1']);
$accpass2 = anti_injection($_POST['accpass2']);
$E-mail = anti_injection($_POST['E-mail']);
$Secret Q = anti_injection($_POST['Secret Q']);
$answer = anti_injection($_POST['answer']);
$con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']),$mssql['E-mail'],$mssql['Secret Q'],$mssql['answer']);
$result1 = mssql_query("SELECT * FROM silk.dbo.users WHERE id = '".$accname."'",$con);
$row1 = mssql_num_rows($result1);
if(empty($accname) || empty($accpass1) || empty($accpass2)|| empty($E-mail)|| empty($Secret Q)|| empty($answer)){
echo "<br>You didnt fill in all fields<a href='javascript:history.back()'>Go Back</a>";
} elseif($row1 > '0' || $row2 > '0') {
echo "<br>This Account name already exists.<a href='javascript:history.back()'>Go Back</a>";
} elseif($accpass1 != $accpass2) {
echo "<br>The passwords did not match<a href='javascript:history.back()'>Go Back</a>";
} elseif($accpass1 == $accname) {
echo "<br>Account name and password are the same.<a href='javascript:history.back()'>Go Back</a>";
} elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $accname)) {
echo "<br>Enter a account name only with 0-9 , a-z and A-Z.<a href='javascript:history.back()'>Go Back</a>";
} elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $accpass1)) {
echo "<br>Enter a password only with 0-9 , a-z and A-Z.<a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($accname) < 3 || strlen($accname) > 15) {
echo "<br>Username Must be above 3 and lower then 15 <a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($accpass1) < 3 || strlen($accpass1) > 15) {
echo "<br>Password Must be above 3 and lower then 15 .<a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($E-mail) < 3 || strlen($E-mail) > 50) {
echo "<br>E-mail Must be above 3 and lower then 50 <a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($Secret Q) < 3 || strlen($Secret Q) > 50) {
echo "<br>Secret Q Must be above 3 and lower then 10 <a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($answer) < 3 || strlen($answer) > 7) {
echo "<br>answer Must be above 3 and lower then 7 <a href='javascript:history.back()'>Go Back</a>";
} else {
$accpass = md5($accpass1);
$con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
mssql_query("INSERT INTO silk.dbo.users (
id,
password,
online,
unknown,
unknown2,
silk,
gold,
E-mail,
Secret Q,
answer,
)
VALUES (
'".$accname."',
'".$accpass."',
'0',
'0',
'0',
'0',
'0',
'".$E-mail."',
'".$Secret Q."',
'".$answer."',
)",$con);
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Welcome To Your Server Name</title>
</head>
<body background="Silkroad_Online.jpg">
<?php
}
} else {
$con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
$result1 = mssql_query("SELECT * FROM silk.dbo.users",$con);
$row1 = mssql_num_rows($result1);
?>
<form method="POST" action="reg.php">
<input type="hidden" name="activ" value="1"><center> <p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</center>
<p align="left"><b><font size="7" face="Segoe Script">Welcome To
Your server name</font></b></p>
<p> <font face="MV Boli" size="6">Account ID </font>
<input type="text" name="accname" maxlength="12"></p>
<p> <font face="MV Boli" size="6">PassWord</font>
<input type="password" name="accpass1" maxlength="12" size="20"></p>
<p> <font face="MV Boli" size="6">password again</font>
<input type="password" name="accpass2" maxlength="12"></p>
<p><font size="6" face="MV Boli">E-mail
</font>
<input type="text" name="E-mail" maxlength="12"></p>
<p> <font face="MV Boli" size="6">Secret Q</font>
<input type="text" name="secret Q" maxlength="12">
</p>
<p> <font face="MV Boli" size="6">Secret Answer</font>
<input type="text" name="answer" maxlength="12"> </p>
<p align="center">
<input name="submit" type="submit" value="Create Account" style="float: left"></p>
<p> </p>
</form>
<p align="left"><b>
<?php
}
?>
<font color="#FFFFFF">All Right reserved</font></b><p align="left">
<font color="#FFFFFF"><b>
This Page Made By (ahmed4ever2u)</b></font></p>
<p align="left"><font color="#FFFFFF"><b>
Not allow removal of copyright</b></font></p>
<p> </p>
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Ahmed4ever2u
//For full source code, visit http://elitepvpers.com
var message="Sorry We Dont Allow This";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
</body></html>
line 38 =
Code:
$E-mail = anti_injection($_POST['E-mail']);
|
|
|
11/28/2010, 08:16
|
#4
|
elite*gold: 0
Join Date: Nov 2009
Posts: 1,515
Received Thanks: 891
|
Quote:
Originally Posted by Monaiz
Error on line 38
Try to register
reg.php
line 38 =
Code:
$E-mail = anti_injection($_POST['E-mail']);
|
frist @ all the erro in on line 79
i post this reg page working 100% (i'm Sure from that)
u have edit it and removed Secret Q couze u are an idiot
if u don't need secret Q Just tell me or try to think with yr mind
PHP Code:
echo "<br>Secret Q Must be above 3 and lower then 10 <a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($answer) < 3 || strlen($answer) > 7) {
PHP Code:
if(empty($accname) || empty($accpass1) || empty($accpass2)|| empty($E-mail)|| empty($Secret Q)|| empty($answer)){
echo "<br>You didnt fill in all fields<a href='javascript:history.back()'>Go Back</a>";
so help yrself edit what u like as u like but i wont help u
keep going on 
^^
edit: when i goto home i will release new ver. with organized page
|
|
|
11/28/2010, 09:28
|
#5
|
elite*gold: 0
Join Date: Nov 2010
Posts: 57
Received Thanks: 1
|
احمد ممكن تحللي المشكله ديه
[IMG]  Uploaded with  [/IMG]
انا عملت كل حاجه الايب صح
host صح
game server & login server شغالين وكله تمام
وكل حاجه صح في sql
ايه الغلط بقي لو تتكرم وتكلمني علي
وتحللي المشكله ديه
|
|
|
11/28/2010, 10:22
|
#6
|
elite*gold: 0
Join Date: Oct 2010
Posts: 61
Received Thanks: 3
|
Hello i have Problem.Problem Name ;
Parse error: syntax error, unexpected '=' in C:\AppServ\www\reg.php on line 38
|
|
|
11/28/2010, 10:25
|
#7
|
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,374
|
u have many php problems in ur reg. page + Email phrase is too small <<
|
|
|
11/28/2010, 10:58
|
#8
|
elite*gold: 0
Join Date: Oct 2010
Posts: 61
Received Thanks: 3
|
i was increased E-mail phrase "50 phrase"
|
|
|
11/28/2010, 12:37
|
#9
|
elite*gold: 0
Join Date: Nov 2009
Posts: 1,515
Received Thanks: 891
|
Quote:
Originally Posted by $eRiaLKiLLeR
Hello i have Problem.Problem Name ;
Parse error: syntax error, unexpected '=' in C:\AppServ\www\reg.php on line 38
|
i will solve it when i goto home
Quote:
Originally Posted by abdelfattah
u have many php problems in ur reg. page + Email phrase is too small <<
|
Just try to help mE
i will fix erro in line 38 it's too easy step
Quote:
Originally Posted by $eRiaLKiLLeR
i was increased E-mail phrase "50 phrase"
|
+1
Quote:
Originally Posted by p1ter
it's annoying, shut up with that, this time you even wrote it in arabic. this is coding section, did you understand? and we are speaking here english, not arabic, chinese, etc.
|
+1
|
|
|
11/28/2010, 12:45
|
#10
|
elite*gold: 0
Join Date: Oct 2010
Posts: 61
Received Thanks: 3
|
when will go home
|
|
|
11/28/2010, 12:56
|
#11
|
elite*gold: 0
Join Date: Nov 2009
Posts: 1,515
Received Thanks: 891
|
Quote:
Originally Posted by $eRiaLKiLLeR
when will go home 
|
1 or 2 h
|
|
|
11/28/2010, 12:59
|
#12
|
elite*gold: 0
Join Date: Oct 2010
Posts: 61
Received Thanks: 3
|
ok ty
|
|
|
11/28/2010, 14:30
|
#13
|
elite*gold: 0
Join Date: Oct 2010
Posts: 318
Received Thanks: 144
|
Thanks , but I don't like the style.
|
|
|
11/28/2010, 14:42
|
#14
|
elite*gold: 0
Join Date: Nov 2010
Posts: 57
Received Thanks: 1
|
Quote:
Originally Posted by p1ter
it's annoying, shut up with that, this time you even wrote it in arabic. this is coding section, did you understand? and we are speaking here english, not arabic, chinese, etc.
|
i was talk to ahmed4ever2u he arabian do you understaned now idiot
|
|
|
11/28/2010, 15:07
|
#15
|
elite*gold: 0
Join Date: Feb 2008
Posts: 3,777
Received Thanks: 1,455
|
Nice ahmed
thank you
but i think you have spelling mistake in reg background(style)
It says ' Welcome to yourserver name'
What this mean lol
some people make the reg public so its not for 1 person
fix that
I will not test^^ because i dont use reg page
|
|
|
All times are GMT +1. The time now is 17:36.
|
|