PHP
File Uploads Setting Folder Permissions Path to folder G:\\PleskVhosts\\[your_root domain_here]\\[sub_domain_folder]\\[upload_folder]\\ G:\\PleskVhosts\\csci3000.com\\fa17.csci3000.com\\uploads\\ double slashes used because they are escape characters
List Files scandir($folder) is_dir($item) returns array of folder contents, includes files, folders is_dir($item) to confirm if something is a folder or a file
Questions
PHP Lab – Due Oct 3rd Create a PHP page with a simple web form Include at least: Two text fields (<input type="text">) One drop down (<select>) One radio button group with at least two radio buttons (<input type="radio"> //same name attribute will cause them to group together) A submit button (<input type="submit">) Set up PHP code to validate that all fields had values entered Create styled error messages if fields were not completed Output the values entered on the page using PHP
Project 1 – Responsive Site Due: Oct 6th Build a responsive site with 3+ pages on a separate sub- domain (ex: project1.yourdomain.com) Screen Sizes: Desktop – 1280 X 1024 Tablet – 1024 X 768 Phone – 320 X 480 Home Page Header/Footer Slideshow
Project 1 – Responsive Site Interior Page 1 Header/Footer Main Content + Sidebar Content Interior Page 2 Main Content (no sidebar) Table that fills content area on desktop view (use JS/CSS to adjust for smaller views) Extra Credit (2pts) Tabbed content in desktop view that switches to vertical expandable content in tablet/phone views