Hi every one,
I have some static pages with some data ,in all these pages there is a link called contact and this contact link is accesable only by registerd users.when user click on contact link a message will appear like pls register or sign in to view this contact page.After getting the messege like pls sign in ,user will sign in to the site , once the user sign in to the website he should redirect directly to the specific contact page. How to do this in PHP.
Pls can any one help...
Thanks
Regarding sign in...
Moderator: General Moderators
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
Re: Regarding sign in...
This should be posted in the php code area and not the general discussion. Despite that it depends on your needs. Will you need different users or just one username/password combination that is static for a bunch of people? You'll need to look into html forms, php $_POST , php.net/header(), exit(). If you're going to be doing registration you might want to google php registration system or something like that. It sounds like you've got a lot of reading to do so good luck. Also, try to use complete words when posting as there a lot of non-native English speakers on this form. For example, use please and not pls. Hope I helped some. 