section3 - Section 3 Sessions File I/O and Basic Javascript...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Section 3: Sessions, File I/O, and Basic Javascript (2/8/08) - Infox30 Section 3: Sessions, File I/O, and Basic Javascript (2/8/08) From Infox30 In which you write a simple Content Management System (CMS). Basically, a more hands-on approach, putting what you've learned so far into practice. Contents 1 Introduction 1.1 Caveat 1.2 Directory Structure 1.3 File I/O Permissions on the 230 Server 1.4 SESSION Variables 2 Writing the CMS 2.1 Editing Content 2.2 Handling Log Ins 2.3 Securing index_edit.php 2.4 Practicing File Reads 3 Javascript Basics Introduction Your web site will have one (1) public page. It will have a second page that permits you (the administrator) to edit the content on the previous, public page. Caveat We will be writing to files. We are not going to spend hours talking about security. We are going to do things in a non-secure way for the purpose of walking through file I/O. If you are l44t (or just trying to be 'funny'), remember: with great power comes great responsibility. Do (1 of 4)2/8/2008 3:17:37 PM
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Section 3: Sessions, File I/O, and Basic Javascript (2/8/08) - Infox30 not try to mess with the server in ways the staff might consider malicious or even just annoying. It is on
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern