sfidirectory
Senior Member
- Mar 29, 2010
- 931
- 504
Hi everyone,
So I have finished Stage 1 of a project of mine (mentioned on http://www.blackhatworld.com/blackhat-seo/php-perl/344754-how-do-you-temporarily-ban-user.html)... Not sure how to ask what I want to ask so I will describe it in a scenario:
Thanks in advance!
So I have finished Stage 1 of a project of mine (mentioned on http://www.blackhatworld.com/blackhat-seo/php-perl/344754-how-do-you-temporarily-ban-user.html)... Not sure how to ask what I want to ask so I will describe it in a scenario:
So I am wondering what can I implement in my login processing script to enable that? At the moment I am using sessions and php. I can say in the login processing script, if the username and password match to the corresponding rows in the database, the header is changed and the user is directed to their account page. I am not sure how to do something similar to this except the user gets directed to the restricted page/original page they wanted to see in the first place...A user visits my site and they click on a link to a restricted page. As this is a restricted page (you have to be logged in, in order to view page), they are redirected to a user login page (if they aren't logged in). They fill out their correct details and are redirected back to the page they wanted to originally see.
Thanks in advance!