3 replies [Last post]
AndyD
AndyD's picture
Offline
Enthusiast
Last seen: 3 years 42 weeks ago
Joined: 2005-03-17
Posts: 160
Points: 48

Hi All,

I am going to help out do a little web stuff for my daughter's playgroup and also primary school. However they would like to have the facility to allow the pupils to have their own little password protected pages where they can add their own photos. I wondered whether anyone could advise on how to put together a php page(Drunk to allow the chldren to have their own login and passwords...?

Tags:
Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

I think for this purpose a

I think for this purpose a CMS Like Wordpress would probably be the best choice, users can register, be allowed to create posts, password protect those posts, create the posts using a post format (as long as theme supports them) such as Video, gallery or just a plain post. Drupal might also serve but is a little more high end enterprise level sort of CMS/Portal.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

AndyD
AndyD's picture
Offline
Enthusiast
Last seen: 3 years 42 weeks ago
Joined: 2005-03-17
Posts: 160
Points: 48

Thanks for the info Hugo.

Thanks for the info Hugo. Unfortunately we already have a web site, and were hoping to find an easy fix to incorporate some level of password protection.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 23 hours 18 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9774
Points: 3856

Even simple is not all that simple

Presumably the world can view the pages/galleries, but only the child may edit his page?

You could have an "edit" button on the page which links to a sign-in form. Once the child has entered his user name and password, the submit button is clicked and the mid-tier PHP validates the sign-in and feeds another form for uploading files and text. There should be a variety of PHP tutorials on the web. You may want to refresh yourself on PHP authentication.

Another thought is to add server authentication, authority, and access control. You could set it up so that the pages could only be viewed by visitors from within the LAN without sign-in. Attempts to view from the WAN would require log-in.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.