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

Info iconThis 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 https://info230.cs.cornell.edu/info230wiki/index.php?titl. ..le_I/O%2C_and_Basic_Javascript_%282/8/08%29&printable=yes (1 of 4)2/8/2008 3:17:37 PM
Background image of page 1

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

View Full DocumentRight 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
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

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

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online