PenUltima Online

It is currently Sun Oct 12, 2008 5:12 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: PHP+AuxSVC Account Creator
PostPosted: Sat Mar 01, 2008 7:18 am 
Offline
User avatar

Joined: Fri Feb 10, 2006 8:08 am
Posts: 327
Location: Myrtle Beach, South Carolina
Props to MuadDib for POLPack/UnPack code.

The basics:
Userdude inputs account/password/email. php script sends POL the information, POL checks if the account is not used, if not used POL stores the info in datafile sends the OK back to the php script, php script sends an email to the email specified with an activation link. The user checks his email, follows the link and if all is well the account will be created and the info stored in the datafile will be removed.

This is really basic, you'll need PHP, though I haven't a clue what version. When making this I had to spend most of my time learning PHP in the process, so there's probably some bugs, better/easier ways to do things and some stuff left out like checking if it's an already registered email/ip, etc.

Any questions, just ask here. Though if it's about PHP, prey someone that knows PHP answers.

Also if you improve this in anyway please release your version. At least on the PHP side, lol.


Attachments:
File comment: I would like some sort of credit if you use this. Just either use my name or my shards site, UnrealUO.com.
UUOWeb.rar [4.33 KiB]
Downloaded 108 times
Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 3:07 am 
Offline

Joined: Sat Mar 18, 2006 1:41 am
Posts: 92
Location: World Earth
Thanks


Top
 Profile  
 
 Post subject: Re: PHP+AuxSVC Account Creator
PostPosted: Sun Sep 28, 2008 7:31 am 
Offline

Joined: Sat Dec 09, 2006 11:58 am
Posts: 15
Sweetness! Thank you, Can you modify it for pol 95? Or will it still work on 95 Perhaps?


Top
 Profile  
 
 Post subject: Re: PHP+AuxSVC Account Creator
PostPosted: Sun Sep 28, 2008 10:51 am 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 772
Location: Chicago, IL USA
Looking it over really quickly, this should work with POL 095 with only two modifications I've seen so far...


WebAcct.src wrote:
var params := SplitWords(ev.value, " ");


change to

Quote:
var params := SplitWords(ev.value);


and

pkg.cfg wrote:
CoreRequired 97


delete this line or change it to

Quote:
CoreRequired 95


Top
 Profile  
 
 Post subject: Re: PHP+AuxSVC Account Creator
PostPosted: Mon Sep 29, 2008 11:27 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1154
Location: Southern Central USA
Thanks MontuZ.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl