Re: [PHPLIB] Send Email on Login From: Mark Wormgoor (riddles <email protected>)
Date: 11/30/99

Gary Smith wrote:
>
> Thanks Philip,
>
> How do I make this happen only once? Is it possible to modify:
> class Example_Auth extends Auth ? If I put the code you gave me in
> index.php3 it works but if I reload or navigate to index.php3 I get
> another email. Also if someone goes to another protected page and
> needs to relogin the other page doesn't have the code.

It shouldn't be that difficult to create a user-variable emailsent or
something which is set after the e-mail is sent. Then check on this at
every login.

Kind regards,

                Mark Wormgoor
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.