Reply to Re: [PHP] How to confirm subscriptions by e-mail on a PHP site ?

Your name:

Reply:


Posted by Mαrio Gamito on 11/26/22 11:16

Hi George,

Thank you for your answer.

The future users of the site i'm doing can register freely.
No need for aproval.

I just want to ensure that there are no fake subscriptions or fake e-mails.

I was thinking more in something like an email sent back after the form
fill, with an URL back to the site that makes the conformation.
I'm doing some experimentations on this field.

When they fill in the form, all data goes to the DB along with a random
generated code. There's a boolean field called confirmed, that has an
obvious job, i. e., defaults to FALSE.
After that, i send them a mail with an URL ending in ?code=345njkh53h23
If they click on them and the codes match, the boolean field in the DB
switches to TRUE.

I think it's a bit complicated engine for such a simple field.

Any sugestion about easying the process ?

Warm Regards,
MΓ‘rio Gamito



George Pitcher wrote:
> Mario,
>
> My site is for universities. Each university has their own administrator,
> responsible for authorising each of their own subscribers. No that is
> probably overkill. However, when a new subscriber registers (simple data
> gathering form - including preferred password), the system sends off an
> email to the appropriate administrator, who logs in, awards access level (we
> have 5 different access levels) and then an email is sent to the new user
> confirming all the details.
>
> So you could have the response to the data gathering form, record the info
> in a db and then send an email to the new user.
>
> I also have a small form on the login page that if the user enters their
> email address, and its the one they registered with, it sends their login
> details inc passwords to that email address. Saves me having to sort it out.
>
> Hope this helps.
>
> George in Oxford
>
>
>>-----Original Message-----
>>From: MΓ‘rio Gamito [mailto:gamito@tuxdoit.com]
>>Sent: 20 May 2005 9:21 am
>>To: php-general@lists.php.net
>>Subject: [PHP] How to confirm subscriptions by e-mail on a PHP site ?
>>
>>
>>Hi,
>>
>>I'm making this middle-range site (i. e., not so little, bit not so big,
>>either), and i want users that subscribe to my site to have their
>>confirmation made by email.
>>
>>Does anyone sugests a simple, yet effective way to do this ?
>>
>>Please, don't misunderstand me.
>>The PHP part i know.
>>The sugestions i'm asking for are about the mechanism.
>>
>>Thanking you in advance.
>>
>>Warm Regards,
>>--
>>MΓ‘rio Gamito
>>Bastard Administrator in $hell
>>$Users, you better make your backups
>>Key FingerPrint: 0xA86C640A
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация