Jump to content

Recommended Posts

Hi, i have a question on unique id. I am creating a page for user to register their account with a unique id given. When user has successfully created, the page will direct them to another page that display their unique id. How do i make sure the unique id in the successful page is the same as the unique id given in the page they are registering?

 

For example,

$name = uniqid();

echo "$name";

Link to comment
https://forums.phpfreaks.com/topic/265109-unique-id/
Share on other sites

It's more than likely homework, judging by previous posts.

So do it right now, and we won't have to tell him to change it later for the next assignment ;)

 

And if the goal of the assignment was to learn how to pass variables through requests?

 

Who knows, most intro IT teachers are pretty clueless.

Link to comment
https://forums.phpfreaks.com/topic/265109-unique-id/#findComment-1358941
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.