|
You last visited: Today at 10:55
Advertisement
SEA EMU - Easy to mod reg. page
Discussion on SEA EMU - Easy to mod reg. page within the SRO Private Server forum part of the Silkroad Online category.
05/12/2010, 16:34
|
#1
|
elite*gold: 0
Join Date: Apr 2010
Posts: 108
Received Thanks: 22
|
SEA EMU - Easy to mod reg. page
Okay credits goes to the  .
PHP Code:
<?php
error_reporting(0);
// Get form variables
$account=$_POST['account'];
$pass=$_POST['pass'];
if($account=="" || $pass==""){
echo "
<html>
<head><title>Account Creation</title>
</head>
<body>
<form method='post'>
<table>
<tr>
<td>Account Name: </td>
<td><input type='text' name='account' ></td>
</tr>
<tr>
<td>Password: </td>
<td><input type='password' name='pass' ></td>
</tr>
<tr>
<td><input type='submit' name='submit' value='register'></td>
</tr>
</form>
";
}
else{
$myFile = "ENTER SEA ACCOUNT DIRECTORY HERE".$account.".ini";
$fh = fopen($myFile, 'x') or die("Account name: <b>$account</b>, are in use.");
$stringData = "[account]
password=$pass";
fwrite($fh, $stringData);
fclose($fh);
// either display a message, or redirect to another page.
// comment-out one or the other:
echo "Account was created";
}
?>
the only thing you need to modify is: ENTER SEA ACCOUNT DIRECTORY HERE
then save it as something.php and there you go!
|
|
|
05/12/2010, 16:56
|
#2
|
elite*gold: 0
Join Date: Feb 2010
Posts: 193
Received Thanks: 34
|
il test it  , seems very promising
|
|
|
05/12/2010, 17:14
|
#3
|
elite*gold: 0
Join Date: Apr 2010
Posts: 108
Received Thanks: 22
|
hehe  it works, i tried it
|
|
|
05/12/2010, 17:29
|
#4
|
elite*gold: 20
Join Date: Mar 2007
Posts: 1,141
Received Thanks: 216
|
Works perfect , thanks .
|
|
|
05/12/2010, 17:49
|
#5
|
elite*gold: 0
Join Date: Dec 2008
Posts: 1,191
Received Thanks: 276
|
do i have to upload the safed php thing some where=? sry i am a totaly noob in web side building
|
|
|
05/12/2010, 19:03
|
#6
|
elite*gold: 0
Join Date: Apr 2010
Posts: 108
Received Thanks: 22
|
yes  on you web host server  as inde.php or something like that
|
|
|
05/12/2010, 19:44
|
#7
|
elite*gold: 0
Join Date: Feb 2010
Posts: 437
Received Thanks: 156
|
haha dont even bother to learn the guys on e-pvpers .php scripting
Im sure this thread will be filled spam and questions how this works.
Btw you can change the "Directory" to an email adress instead
|
|
|
05/12/2010, 21:11
|
#8
|
elite*gold: 0
Join Date: Apr 2010
Posts: 108
Received Thanks: 22
|
Quote:
Originally Posted by T-Member
haha dont even bother to learn the guys on e-pvpers .php scripting
Im sure this thread will be filled spam and questions how this works.
Btw you can change the "Directory" to an email adress instead 
|
well not with this command, but you can modify it to upload on a FTP server.
by doing:
PHP Code:
fopen("ftp://user: /","w");
or smothing like that
read more about the PHP foben commands here:
|
|
|
05/17/2010, 14:07
|
#9
|
elite*gold: 0
Join Date: Feb 2009
Posts: 16
Received Thanks: 1
|
I have a small request. Someone could create a style to this registration?
|
|
|
05/17/2010, 16:09
|
#10
|
elite*gold: 0
Join Date: May 2008
Posts: 702
Received Thanks: 225
|
Quote:
Originally Posted by stiifii97
I have a small request. Someone could create a style to this registration?
|
lol learn css u can do it yourself in less than 30 mins youtube any1?
|
|
|
05/17/2010, 17:29
|
#11
|
elite*gold: 0
Join Date: Apr 2009
Posts: 1,844
Received Thanks: 683
|
Quote:
Originally Posted by stiifii97
I have a small request. Someone could create a style to this registration?
|
ill try but im not very good ^_^
|
|
|
06/27/2010, 12:32
|
#12
|
elite*gold: 0
Join Date: Jun 2009
Posts: 322
Received Thanks: 286
|
this needs to go to localhost right? how other players see it?
|
|
|
09/22/2010, 20:08
|
#13
|
elite*gold: 0
Join Date: Aug 2009
Posts: 18
Received Thanks: 1
|
"ENTER SEA ACCOUNT DIRECTORY HERE".$account.".ini"; .. like "D:\New Folder (12)\accounts".$account.".ini"; ? cuz dont works :s
|
|
|
09/22/2010, 20:40
|
#14
|
elite*gold: 0
Join Date: Aug 2009
Posts: 18
Received Thanks: 1
|
and one more question : my server must be online when i try to reg? please answer me
|
|
|
09/23/2010, 07:52
|
#15
|
elite*gold: 0
Join Date: Sep 2008
Posts: 97
Received Thanks: 0
|
thanx man its very easy and working in html
|
|
|
 |
|
Similar Threads
|
SEA EMU - Easy to mod server status page
05/12/2010 - SRO Private Server - 3 Replies
Okay credits goes to the moSro team.
This one lists all account names, (still with .ini but they are trying to fix that)
<b>Total Number of Accounts:</b>
<?php
$directory = opendir("ENTER SEA ACCOUNT DIRECTORY HERE");
while($item = readdir($directory)){
if(($item != ".") && ($item != "..")){
$files = $item;
|
Easy Alz & Easy Skills GUIDE [No Hack-Cheats]
07/20/2009 - Cabal Guides & Templates - 4 Replies
----------Easy Alz Guide----------
-Buy Seven Coins +1 amulet, 2xEarring of Seven Coins +1 & full High-Luck set gear for youre character.
----------BUY----------
All these NOT need to be latest suits like Mithril or others. It's enough to buy Aramid or Bluestin, better Aramid because it's cheaper.
x1=Set means: Helm x1, Gloves x1, Boots x1, Suit x1 & weapons x1(WA)-x2(Others).
-Set of Luck +1 Alz Drop Amount 15%
|
New And Fixed Easy Reg Page You Will Love It
05/06/2009 - CO2 Private Server - 4 Replies
You Just Need To Edite Your Ip In All Files
And Server Name In File Name config.php
Here Download Link
RapidShare: Easy Filehosting
|
[EASY]Getting usa folder to work in 5 easy steps!
08/17/2008 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 6 Replies
Step 1 : Open history.config with notepad usually located at C:\Program Files\Acclaim\2moons... Then change the version to 3.0.0, Don't forget to save!
Step 2 : Open launcher.exe also found in C:\Program Files\Acclaim\2moons let if update till it reaches 3.0.5 then EXIT. Remove the folder 3.0.5 also located in the 2moons folder.
Step 3 : Download EaSy HaCk v.2.0 found HERE and install to C:\Program Files\Acclaim\2moons.
Step 4 : Download the usa folder attached to this thread, and...
|
All times are GMT +1. The time now is 10:55.
|
|