Lecture 05 - Intro to PHP - Some observations Intro to PHP...

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

View Full Document Right Arrow Icon
1 Intro to PHP INFO/COM S 130: Introductory Web Design and Programming Some observations • Some number of 9PM, 10PM, 11:45PM emails/forum posts asking for help with problems. • You are much more likely to get a response from a TA: there are offline office hours Sunday 3-4 and 5-6 in Upson B7, and online hours from 6:30 to midnight (AIM info130TA, compsci130TA). • Forums – much better for problems you think other people might have too (e.g. “The folder p1 on the server won’t let me put my file in it…”) • “I’m having a problem with X. Please download my code from the server…” Send it to us directly. Web permissions • Under “My Account/Web Permissions” you can set permissions for the folders in your directory (e.g. hw0, p1). – Public (all CS130 users are allowed to see the files in that folder) –P r iva te – Allow selected users to view • We’d like to show examples of good sites to the rest of the class; if the folder is “public” we’ll assume it’s OK. You are here • XHTML – how to mark up content • CSS – how to control presentation
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 What can you do with PHP? Automatically generate XHTML/CSS when page is accessed. Tailor web pages on the fly Manage sites with lots of data Automate repetitive coding <tr> <td>bowling shoes</td> <td>9</td> <td>black</td> <td>2</td> <td>$20</td> <td>$40</td> </tr> …. checkOut("bowling shoes", 9, "black", 2, "20"); Your first PHP file <!DOCTYPE html PUBLIC "- //W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml 1/DTD/xhtml1-strict.dtd">
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 / 6

Lecture 05 - Intro to PHP - Some observations Intro to PHP...

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