-
mail with link
I'm doing an web application,sort of a loaning equipment application, shopping cart in another word. Now, i'm stuck and figuring out an issue. My application flow is lyk dis.
user apply loan->onClick submit button, a mail will be send to administrator to inform and in the mail, there is to be a link which allows the administrator to go straight into a page of my application to audit the stock(this is the step which i'm trying to figure it out)
How am i suppose to do such that i can provide the link in the mail to go straight to 1 of the page in my application securely??
Can any1 help me with this tnx alot!!
Cheers
-
-
using the mail() function you can send a link and/or a code.
i'd suggest having this code sent and the link go to a login page.
Once they log in, they can enter the code and go where they need to.
Additionally, you could have the link contain the code, like link.php?code=2348239, then you can store this (hidden value in the form, or session variable), and automatically send the user to the record, once logged in.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
-
oh i understand the logic now tnx alot...is there anywhere got tutorial on this dat i can reference on??
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks