CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 New User Creation

Print topic Send  topic

Author Message
Damian Hupfeld
Posted: 11/28/2004, 3:01 AM

I am creating a portal for marine users in Australia.

To ensure some level of honesty from members they need to suppy their email
address, in fact their email will be used as their login (another way to
ensure that the loginID is unique).

To make sure that they have provided their own email address I send their
password to their address. At the momment this password is static/hardcoded
ie all new users get the same password.

To set the password for all new users I have a HIDDEN text corresponding to
PASSWORD. This has a default value of password (or whatever the password
happens to be). This is then inserted into the DB on Submit.

There is also a Send Email Action On Click on the Submit buttom. This is all
hard coded except it gets the new users email address from the form.

Try it at http://www.crewaustralia.com.au/join.php

What I would like to do, is allow the site administrator to change the
passord assigned to all new users easily.

So - I have created a table called password.
password (pwid, password) with only 1 entry. Anytime this pass is changed it
just overwrites the password.

2 problems.

1. If I create a new grid on the same page as the New User Form, with a
single hidden field with the PASSWORD in it, what command do I use to get
the Value from the PASSWORD grid/label and assign it to the PASSWORD field
in the NEWUSER grid/label?

2. How do I use the Send Email Action to send a combination of static text
(eg using ="blah blah") and the password and email variables (eg {password}
and {email}) in the same subject field. Eg: ="Welcome to Crew Australia,
your username is {email} and your password is {password}."

thanks (hopefully)
Damian Hupfeld
http://www.nexthost.com.au/services.php





Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.