Date: 11/29/99
- Next message: Mark Wormgoor: "Re: [PHPLIB] Send Email on Login"
- Previous message: Gary Smith: "[PHPLIB] Send Email on Login"
- Maybe in reply to: Gary Smith: "[PHPLIB] Send Email on Login"
- Next in thread: Mark Wormgoor: "Re: [PHPLIB] Send Email on Login"
- Reply: Mark Wormgoor: "Re: [PHPLIB] Send Email on Login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Gary
At 10:03 PM -0500 11/29/99, Philip Strnad wrote:
>Do you just want the fields emailed to you after a user has filled out
>the form successfully? If so, you can just do:
>
>mail(youraddress <email protected>, "subject", "A message:\n\nfield1:
>$field1\nfield2:$field2");
>
>You can add mail headers after the third argument to mail(). Just
>separate each one with a newline.
>
>-Philip
>
>--
>http://www.audiosurge.com/ Capturing The Energy of Music
>http://www.buymp3.com/ The New Way To Buy Music
>
>
>
>
>Gary Smith wrote:
>>
>> I've added a few fields to loginform.ihtml that I would like to have emailed when a user successfully logs in. Any ideas how I would do this.
>>
>> Thanks,
>> Gary
>> -
>> 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.
>
>--
-
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.
- Next message: Mark Wormgoor: "Re: [PHPLIB] Send Email on Login"
- Previous message: Gary Smith: "[PHPLIB] Send Email on Login"
- Maybe in reply to: Gary Smith: "[PHPLIB] Send Email on Login"
- Next in thread: Mark Wormgoor: "Re: [PHPLIB] Send Email on Login"
- Reply: Mark Wormgoor: "Re: [PHPLIB] Send Email on Login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

