HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=19)
-   -   Automate user signup. (http://www.howtoforge.com/forums/showthread.php?t=14766)

Tommahawk 15th August 2007 12:54

Automate user signup.
 
WARNING: This script is Alpha. Use at your own risk. Not liable for any damage. You have been warned.

This script will automate user signup from a webpage while you sleep. Create a new file e.g auto_signup.php and slap this code into it.

Aims:
1) Add A New Customer (user logs into new accoount straight after successful signup)
2) Adds A New Website (site become active under new users account immediately)
3) User can choose between FQDN (www.newdomain.com) or subdomain (newsite.host.com) not done yet
IPN Paypal integration returns payment verification before creating new account. not done yet


Here is the code....ALL Comments bugs fails welcome

The code is too long I cannot post it here due to limitation you must download from http://www.5s7.com/scripts.php if you want it.

alexnz 15th August 2007 14:58

awesome!!!

i look forward to paypal integration!!

ill help develop this a little further with other things if you would like

Tommahawk 17th August 2007 07:46

Aug 17 2007 Update

3) User can now choose between FQDN (www.newdomain.com) or subdomain (newsite.host.com) complete

4) User is also added at singup time allowing for ftp upload site access

Sure. If you make any updates post a download link or the change.

mlz 17th August 2007 16:36

Not sure why, but I get a hostname failure on that site, looks like the DNS is timing out.

3cwired_com 17th August 2007 17:29

I think I am getting the same thing too :(

3cwired_com 17th August 2007 18:37

If someone could email it to me, I would be more than happy to host that script until the other link is resolved. i n f o [a t] 3 c w i r e d [ d o t ] c o m.

mlz 17th August 2007 23:37

I only hope that isn't Tommahawk's production server that's down, that would truly suck! :(

Tommahawk 18th August 2007 05:53

As I was working on the subdomains, tip: don't name your subdomain zones (named.conf) the same as your host server it causes DNS restart to fail due to duplicate zone name exists. Hopefully an ISPConfig update will check the zone name for dups before adding it.

till 18th August 2007 09:58

Quote:

Originally Posted by Tommahawk
As I was working on the subdomains, tip: don't name your subdomain zones (named.conf) the same as your host server it causes DNS restart to fail due to duplicate zone name exists. Hopefully an ISPConfig update will check the zone name for dups before adding it.

ISPConfig does not create duplicates if you enter something in the interface and you should not edit named.conf manually. If you edit the file anyway, you have to take care of this as ISPConfig does not parse the config file to check if you modifed something and we will most likely not implement config file parsing in future.

Tommahawk 19th August 2007 04:48

What you basically saying is that I can DOS any server running ISPConfig if they have created manual entries


All times are GMT +2. The time now is 10:08.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.