Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Dave Lantz: "I have to say that I simple love this product and its ease of use. I know that I have only tapped into about 20% of what it can do. In my business I come into a lot of contact with developers and I tell them all, that if they need an easy way to connect, report or work their databases they MUST check out your products".
Philipp Gerber: "

The product is so easy and super built that you can achieve visible and great success after a short time. Also very much possible with the product. A class product. I'm already looking forward to the next versions and extensions. Keep it up.

Support to the product is just perfect. Each Support request is quickly and very competent solved. Also various assistance, which does not fall into a support, are also perfectly processed. There is a direct wire to the manufacturer / developer and this is notth. Thanks for the class Support".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

Email-based features

Some security-related features provided by PHP Generator for MySQL like self-registration and password recovering are based on sending email messages to users of generated sites. This chapter explains how these features work and what is required from the site developer for their support.

 

Users table extension

To support email-based features, user table must contain the following columns (besides columns for storing user names, passwords, and IDs that are required to support table-based authentication basically):

 

Default name

Data type

Description

user_email

character varying(255)

Email address of the user

user_token

character varying(255)

Internal data for verification and password recovering

user_status

integer

Status of the user. Possible values are as follows:

0 - registered user

1 - user awaiting verification

2 - user requested password reset

 

 

Enable self-registration

If this option is turned ON, users can register in the generated application.

 

Enable password recovering

If this option is turned ON, users are allowed to reset their passwords.

 

Customizing email messages

Email messages to be sent to the user on the registration and password recovering can be customized with the OnGetCustomTemplate event.

 

Outgoing mail settings

A set of settings to be used to send emails from the generated website. These settings can be also specified in the Project Options dialog. See also Setting up common SMTP servers.

 

 

Events

A number of events help you to control user registration and password recovering processes in the most flexible way possible. The following events are currently available:

 

 



Prev Return to chapter overview Next