Howd I do this?

Associate
Joined
28 Jul 2008
Posts
468
Is it possible to create a standard sign up form which when completed creates a directory on the website (i.e. www.domain.com/johnsmith) with a name from the form, copy a page with another form, which stays the same for all directories, but changes the email address where the form is sent to.

Any ideas guys?

Sorry for the typo in the subject :(
 
Is it possible to create a standard sign up form which when completed creates a directory on the website (i.e. www.domain.com/johnsmith) with a name from the form, copy a page with another form, which stays the same for all directories, but changes the email address where the form is sent to.

Any ideas guys?

Sorry for the typo in the subject :(

I think you may want to have a look at php :)
 
Might be a bit of a learning curve, but I'm willing to give it a go :)

Am I right in thinking that to send the email to the different distributors I would need to have a database with their number and email address which is extracted when the form is submitted?
 
Last edited:
If the distributor submits the email in the form you could get it from the post data. all depends on how you design the system.I would spend some time with a pen and paper and work out how the system is going to work, it will make life much easier :)
 
It would be better from a structural point of view to use url rewriting to pickup the requested user from the url, check his settings in a database and set the email address the form is sent to.

That way you don't have to worry about updating X copies of the form if you need to add a value, or fix a typo etc, as it's just one form that everyone uses.
 
Back
Top Bottom