Results 1 to 3 of 3

Thread: mail with link

  1. #1
    Join Date
    Oct 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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

  3. #3
    Join Date
    Oct 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    oh i understand the logic now tnx alot...is there anywhere got tutorial on this dat i can reference on??

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •