PHP+AuxSVC Account Creator

Post your Custom Scripts or Packages.

Moderator: POL Developer

Post Reply
User avatar
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am
Location: Myrtle Beach, South Carolina

PHP+AuxSVC Account Creator

Post by MontuZ » Sat Mar 01, 2008 7:18 am

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.
I would like some sort of credit if you use this. Just either use my name or my shards site,
(4.33 KiB) Downloaded 325 times

Forum Regular
Posts: 343
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Post by Harley » Sun Mar 02, 2008 3:07 am


New User
Posts: 27
Joined: Sat Dec 09, 2006 11:58 am

Re: PHP+AuxSVC Account Creator

Post by Breg » Sun Sep 28, 2008 7:31 am

Sweetness! Thank you, Can you modify it for pol 95? Or will it still work on 95 Perhaps?

User avatar
POL Expert
Posts: 1148
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: PHP+AuxSVC Account Creator

Post by CWO » Sun Sep 28, 2008 10:51 am

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
var params := SplitWords(ev.value);
pkg.cfg wrote:CoreRequired 97
delete this line or change it to
CoreRequired 95

Distro Developer
Posts: 2601
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas

Re: PHP+AuxSVC Account Creator

Post by Yukiko » Mon Sep 29, 2008 11:27 pm

Thanks MontuZ.

I would tell you a UDP joke but you might not get it.

Titus 2:13

Post Reply