Web Design and Development Forums

Website with login feature

This is a discussion on "Website with login feature" within the PHP Forum section. This forum, and the thread "Website with login feature are both part of the Program Your Website category.


Go Back   Webforumz.com > Program Your Website > PHP Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Apr 24th, 2008, 23:08   #1 (permalink)
New Member
 
Join Date: Sep 2007
Location: UK
Age: 22
Posts: 8
Exclamation Website with login feature

Hi all

This is a very general question regarding the structure of a password protected websites (i.e. require logging in for admin tasks).

I have been working on a php based website for some time. I am planning on integrating a login system to provide some basic administrative tasks. Now i have created the login system.

So my question now is how many pages do i have to create for such a protected website?i know that for some of the webpages that require logging in will be protected. But take for instance i have a complete website, now do i have to create modified versions of all of these pages specifically for users who have logged in? So, in effect, this would just double the page count! Don't know if im right though.

I have never created log in system before and so am somewhat confused..please help ppl

Robin
robinmitra1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 24th, 2008, 23:52   #2 (permalink)
Lead Administrator
 
saltedm8's Avatar
 
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,062
Blog Entries: 1
Send a message via MSN to saltedm8
Re: Website with login feature

moved to php forum
__________________
recipebite.co.uk - its a working progress...
saltedm8 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 25th, 2008, 01:07   #3 (permalink)
New Member
 
Join Date: Sep 2007
Location: UK
Age: 22
Posts: 8
Re: Website with login feature

great!! this was not a php specific question!
robinmitra1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 25th, 2008, 07:51   #4 (permalink)
Lead Administrator
 
saltedm8's Avatar
 
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,062
Blog Entries: 1
Send a message via MSN to saltedm8
Re: Website with login feature

9 times out of 10 php is the way to go, so people with php knowledge are your best hope to an answer
__________________
recipebite.co.uk - its a working progress...
saltedm8 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 25th, 2008, 09:12   #5 (permalink)
Junior Member
 
Join Date: Oct 2007
Location: UK
Posts: 38
Re: Website with login feature

Well, it depends on how your pages are setup, if pages are exactly the same whether people logged in or not, you don't need to make any changes to them.

If you have say a menu that only appears when you're logged in, and appears on every page when you're logged in, you don't need to create new versions of every page, just edit the existing pages and add something like
PHP: Select all

if(//logged in)
{include('loggedInMenu.php');} 
djeyewater is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 25th, 2008, 13:54   #6 (permalink)
New Member
 
Join Date: Sep 2007
Location: UK
Age: 22
Posts: 8
Re: Website with login feature

Thanks..i have really just started learning php! but i will try it out cuz that seems like the way it should be...
robinmitra1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add member login feature to my website christophermferguson New to Web Design 1 Aug 27th, 2007 03:06
WebSite Security Login Redirect donlor18 Website Planning Discussion 2 Jan 24th, 2007 12:29
I need to add a user upload feature to a photostore website... ktheobald PHP Forum 2 Sep 25th, 2006 17:18
login client automatically to https website minnie ASP.NET Forum 1 Jul 30th, 2006 18:15



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 23:24.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59