How to open php forms using only links.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tina1234
    New Member
    • Apr 2010
    • 1

    How to open php forms using only links.

    Hi there,
    I need a help regarding opening php forms.Is it possible to open a php form using only links rather opening it separately by just clicking?
    for example,
    say i have 3 forms.. 1> Front Page, 2> Log in Page, 3>Menu Page and they are linked like this... Front Page -> Log in Page -> Menu Page. Is there any way to open Log in Page and Menu Page only through Front Page, so that no one can open them separately from www folder?..
    It would be really nice if someone can help me out.
  • dlite922
    Recognized Expert Top Contributor
    • Dec 2007
    • 1586

    #2
    I don't know what you mean by "opening" forms. PHP doesn't open forms, HTML has form structures.

    From what it sounds like, you want to prevent ACCESS to a page that has a form on it.

    What you need to do is use a session variable that is set only on the login page.

    So going to the Menu Page, would redirect you to the Front Page.



    Dan

    Comment

    Working...