Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Aug 2011
    Posts
    29
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Creating A Calendar

    Hey All,

    I've currently working on making a calendar for my website.

    How do I go about creating a password for it? So that the admin can add events to it.

    Cheers Guys!!!
    Last edited by Brooksy; 08-18-2011 at 12:22 PM.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,314
    Thanks
    203
    Thanked 2,564 Times in 2,542 Posts
    Passwords in Javascript are hopelessly insecure, as the user can make them visible simply with View Source. It is possible to obfuscate a password, but even so anyone with knowledge of Javascript will crack it very quickly.

    You will need to use server-side scripting for this.

    Note: calendar

    All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • Users who have thanked Philip M for this post:

    Brooksy (08-18-2011)

  • #3
    New Coder
    Join Date
    Aug 2011
    Posts
    29
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Thanks for the response.

    Is there anything else you would suggest?

  • #4
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,314
    Thanks
    203
    Thanked 2,564 Times in 2,542 Posts
    Quote Originally Posted by Brooksy View Post
    Thanks for the response.

    Is there anything else you would suggest?
    Not really. Google for php password for more info.

    It might be simpler for the administrator to add details of events in the HTML source code, and then upload the revised page to your server.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • #5
    New to the CF scene
    Join Date
    Jun 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you might want to take a look at YUI, which provide couple of nice calendars


  •  

    LinkBacks (?)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •