I'm creating a site that has email validation. Thus, when registering, the user receives a welcome email containing a link to activate his registration and only thus can access his User Panel. Thus, when registering, in the database the u_ativo
column receives N
. By email he receives a link that clicks on the site:
www.nomedosite.com/[email protected]&id=8378472327
When calling this page when the user clicks on the email link, I need to set the 'u_ativo' = 'S'
column by taking the URL parameters to see which user is activating the registration. As for the data, I will encrypt and compare. My problem is that I can not get URL parameters, for example, using $id = $_REQUEST['id']
.