1
tentons
Automated user account creation
  • 2005/8/27 3:40

  • tentons

  • Just popping in

  • Posts: 10

  • Since: 2005/3/27


Hi,

I want to automatically create an account for customers that buy my game when they pay. I can get all the info I need from the payment processor, but I want to then use my own script to add each one to my website as a registered owner of the game (a special rank).

Where should I begin to look for how to do this from PHP?

Thanks!
Jason

2
LazyBadger
Re: Automated user account creation

register.php
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

3
tentons
Re: Automated user account creation
  • 2005/8/29 3:23

  • tentons

  • Just popping in

  • Posts: 10

  • Since: 2005/3/27


Can I pass parameters to this file and it will add a new user so long as all parameters are valid? For example:

register.php?uname=MyName&email=my@email.com&pass=myPass etc.

I'm guessing no, but I wanted to be sure.

4
tentons
Re: Automated user account creation
  • 2005/8/30 14:43

  • tentons

  • Just popping in

  • Posts: 10

  • Since: 2005/3/27


I'll take the non-answer as a "no". :) But if anyone's feeling generous I would greatly appreciate some hints on how to achieve this automation.

I guess I could insert records manually through my own code. Hmm.

5
atreide
Re: Automated user account creation
  • 2005/8/30 15:11

  • atreide

  • Just popping in

  • Posts: 2

  • Since: 2005/4/6 2


i haven't looked at register.php
something like given might work, look at arguments processed by register

but i would rather advise to use a PUT and not a GET
use a form, create hidden input values and a submit "do you want to automatically create an account ?"

6
tentons
Re: Automated user account creation
  • 2005/9/1 21:34

  • tentons

  • Just popping in

  • Posts: 10

  • Since: 2005/3/27


That's a good idea. Thanks for the feedback! :)

Login

Who's Online

265 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 265


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits