Regarding sign in...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jagadeeshamk
Forum Newbie
Posts: 4
Joined: Mon Nov 30, 2009 1:15 pm

Regarding sign in...

Post by jagadeeshamk »

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
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Re: Regarding sign in...

Post by Charles256 »

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. :)
Post Reply