Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 06:25

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

Advertisement



[release]SROEvolution RegPage Script

Discussion on [release]SROEvolution RegPage Script within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2010
Posts: 346
Received Thanks: 416
[release]SROEvolution RegPage Script

Miki Maus is offline  
Thanks
6 Users
Old 10/28/2010, 14:27   #2
 
kokosas007's Avatar
 
elite*gold: 100
Join Date: Nov 2008
Posts: 742
Received Thanks: 103
Thanks
kokosas007 is offline  
Old 10/28/2010, 14:53   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 191
Received Thanks: 565
I just quickly opened up create

Issues:
PHP Code:
$username $_POST["username"];
$password $_POST["pass1"];
$password2 $_POST["pass2"];

$pwdconv strtoupper(md5($password));

$captcha $_GET["recaptcha_response_field"];

$accountpath $accountfolderpath;
$path $accountpath $username '.ini'
Should be
PHP Code:
$username mysql_real_escape_string($_POST["username"]);
$password mysql_real_escape_string($_POST["pass1"]);
$password2 $_POST["pass2"];

$pwdconv md5($password));
$captcha $_GET["recaptcha_response_field"]; 
I didnt check the rest of the script
only create, i will check later.

Best way is to post forward from mysql to mssql
Make a cron, that read / grabs from mysql user accounts
Then check 5 minutes for account_active = 0
And copy to mssql / set active 1
Xsense is offline  
Old 10/28/2010, 14:55   #4
 
elite*gold: 0
Join Date: Aug 2010
Posts: 346
Received Thanks: 416
Quote:
Originally Posted by Xsense View Post
$pwdconv = strtoupper(md5($password));
has to be like that because in db it sets the md5 has to uppercase, either the server doesnt read lowercase md5 password for some reason.. so i'm not wrong

oh and that $accountpath can be really removed it's from my old version of this.. cba to remove lol
Miki Maus is offline  
Thanks
1 User
Old 10/28/2010, 14:56   #5
 
elite*gold: 0
Join Date: Oct 2010
Posts: 191
Received Thanks: 565
Quote:
Originally Posted by Miki Maus View Post
has to be like that because in db it sets the md5 has to uppercase, either the server doesnt read lowercase md5 password for some reason.. so i'm not wrong
No we removed that, you can view the changelog
Xsense is offline  
Old 10/28/2010, 15:12   #6
 
elite*gold: 0
Join Date: Aug 2010
Posts: 346
Received Thanks: 416
Quote:
Originally Posted by Xsense View Post
No we removed that, you can view the changelog
well still it doesnt matter, it should read also the uppercase -.-
Miki Maus is offline  
Thanks
1 User
Old 10/28/2010, 18:53   #7
 
xFlyer's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 199
Received Thanks: 30
I can't load php_mssql.dll file.. What I should do?

Krč..

xFlyer is offline  
Old 10/28/2010, 18:57   #8
 
elite*gold: 0
Join Date: Aug 2010
Posts: 346
Received Thanks: 416
Learn to get it -.- use mother google
Miki Maus is offline  
Thanks
1 User
Old 10/28/2010, 19:29   #9
 
xFlyer's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 199
Received Thanks: 30
Quote:
Originally Posted by Miki Maus View Post
Learn to get it -.- use mother google
Huh? To get what?

You mean this?:



That biotch is in right place I think, so?


KK.. Fixed some..

left this:
Quote:
Could not execute menu item (internal error)
[Exception] Could not perform service action:
The service has not been started
Any idea how to fix?
xFlyer is offline  
Old 10/28/2010, 21:13   #10
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by xFlyer View Post
Huh? To get what?

You mean this?:



That biotch is in right place I think, so?


KK.. Fixed some..

left this:


Any idea how to fix?
If your Windows theme wasn't a fail, I maybe would've helped you.
lesderid is offline  
Thanks
1 User
Old 11/01/2010, 18:37   #11
 
elite*gold: 20
Join Date: Aug 2008
Posts: 2,196
Received Thanks: 910
Quote:
Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\regpage\Config\Config.php on line 9
why ?
i put all correct
nansif2 is offline  
Old 11/01/2010, 20:11   #12
 
elite*gold: 0
Join Date: Aug 2010
Posts: 346
Received Thanks: 416
Quote:
Originally Posted by nansif2 View Post
why ?
i put all correct

Enable php_mssql addon in php.ini, either you will never be able to connect to db (except if you know how to use odbc)
Miki Maus is offline  
Old 11/01/2010, 22:51   #13
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,373
Quote:
Originally Posted by Miki Maus View Post
Enable php_mssql addon in php.ini
+1
Dr.Abdelfattah is offline  
Old 11/02/2010, 04:21   #14
 
elite*gold: 20
Join Date: Aug 2008
Posts: 2,196
Received Thanks: 910
are enable...
nansif2 is offline  
Old 11/04/2010, 19:58   #15
 
elite*gold: 0
Join Date: May 2010
Posts: 4
Received Thanks: 0
can anyone pls uplload the regpage?
the link is down -.-
MpOnE91 is offline  
Reply


Similar Threads Similar Threads
RegPage 5165
10/02/2010 - CO2 Private Server - 10 Replies
I edited this regpage some, I removed the images and stuff, but how can I make it so that the max password limit AINT 8 WORDS/NUMBERS? I want the password limit to be freely chosen. Here is the code: <?php define ("MaxNameLength", 32); define ("WrongChars", "\r\n"); // Type other Chars, which shouldn't be in the Names, behind \r\n, but before " define ("AccountFilesPath", "C:\OldCODB\Users\\"); define ("AccountFilesEnding", ".usr"); ?> <?php // New Account?
RegPage
01/11/2010 - Metin2 Private Server - 12 Replies
hallo com, ich suche die reg page für meinen metin2 server , aber es gibt ein problem , viele haben den link zum download hier hochgeladen aber bei rapidshare und man kann seit 2 tagen bei rapidshare nix downloaden weil alles überlastet ist und da man einen premium account braucht deshalb wollt ich euch fragen ob jemand es woanders mal hochladen kann der jenige der es macht kriegt auch einen thanks , woanders hochladen oder einen link zum download geben bitte !!! MFG
Regpage plz any1??
07/14/2009 - EO PServer Hosting - 15 Replies
May anyone at all help me out with my registerpage the problem is that i need it to add there accounts to my navicat dbs when they register on the regpage so i dont half to make a username and pass for them...if u have teamviewer than that would be a big help to me and thanks to any that helps in advance....:mofo::pimp:
[HELP]regpage problem
07/02/2009 - CO2 Private Server - 1 Replies
my friends cant open the reg page from their computers but in my computer i can open it please help me



All times are GMT +2. The time now is 06:25.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.