Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4624534
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:08:36+00:00 2026-05-22T03:08:36+00:00

I have a url address on my website: register.php?username=jz&email=jz@hotmail.com the code used to create

  • 0

I have a url address on my website:

register.php?username=jz&email=jz@hotmail.com

the code used to create this url address is currently:

echo '<p class="c7">Click here to <a href="register.php?username='.$username.'&email='.$email.'">back</a> and try again.<br><img src="resources/img/spacer.gif" alt="" width="1" height="15"></p>';

I am currently using GET on register.php to retrieve the values

I was wondering if anyone could show me any encrypting/decrypting methods to mask this data passed from page to page to the user to prevent any tampering from the user.

For example what could I replace the username/email variables with in the URL for example

register.php?u=jz&e=jz@hotmail.com

or this

register.php?token=khkhkhg33424g

token being the username/email value merged and encrypted but of course on register.php the information can be descrambled and split back into the two variables of username and email to be echoed on the form

These are just a few ideas that I’m hoping to develop.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:08:37+00:00Added an answer on May 22, 2026 at 3:08 am

    Use sessions.

    <?php
    session_start();
    
    $_SESSION['username'] = $username;
    $_SESSION['email'] = $email;
    
    var_dump($_SESSION);
    

    Only people with access to your server can modify this data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a url string like this: http://www.google.com/cse?cx=017840637368510444960:ny1lmky7r-0&client=google-csbe&output=xml_no_dtd&q=simon+g I need to send this url
I have an url like this: http://www.w3schools.com/PHP/func_string_str_split.asp I want to split that url to
Let's say I have a URL: http://example.com/person/list This website will display a list of
I have URL scheme for my blog like this: http://www.example.com/%YEAR%/%MONTH%/%CATEGORY%/%POST_TITLE%/ Now i want to
I have a URL string in the following format. http://myserver.com/_layouts/feed.aspx?xsl=4&amp;web=%2F&amp;page=dda3fd10-c776-4d69-8c55-2f1c74b343e2&amp;wp=476f174a-82df-4611-a3df-e13255d97533 I want to replace
Say my URL address is www.example.com I want to have an if statement in
In my website, website.com/downloads actually goes to website.com/index.php?page=downloads (with apache rewriting). I have a
I have someone connecting to my repository using the url (substituted the IP address):
I have URL like: http://example.com#something , how do I remove #something , without causing
Is it possible in CakePHP to have URL aliases in routes.php? Or by what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.