By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,964 Members | 1,810 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,964 IT Pros & Developers. It's quick & easy.

How to open php forms using only links.

P: 1
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.
Apr 16 '10 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,584
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.

Apr 16 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.