Hi godd morning to everyone.
I have ,
1.index.php
2.signup.php
3.check.php
4.logout.php
5.welcome.php
6.dashboard.php
7.connect.php
Suppose, any user opens other pages except index.php(its default page), I need to show error reporting page and it should redirect to index.php. how ? is it possible?
AntonyRayan
15
Posting Whiz in Training
Recommended Answers
Jump to PostShow your code for index.php and at least one of the other files.
Jump to PostHave a session that sets logged it to '1' when the user logs in.
In EVERY other file check if this session is set to '1' at the very start, otherwise redirect to the login/index page.
All 5 Replies
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
AntonyRayan
15
Posting Whiz in Training
iamthwee
Taywin
312
Posting Virtuoso
AntonyRayan
15
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.