How to register a domain name by PHP script?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

How to register a domain name by PHP script?

Post by amir »

I want to register a domain name automatically after the user payment!
Some one was told me that: just send the code below to do that, but I'm still not clear about that!

Code: Select all

authcode=xwewq2esdd33;email=hosting create@mydomain.com;M_domain=newdomain.com;M_typeid=12345;status=Y
So...any one could help me to solve this problem?

TIA!
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

:?

Who are you registering it with?
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Post by amir »

A Domain Name Service!
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

You'll need to read the documentation for their API then. Each registrar has a different way of doing it.
Post Reply