Lab 1 Hello World in PHP CSN Class Lab Activity No. 1.

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

FIRST SESSION - XAMPP Jeongmin Lee.  Jeongmin Lee  CS  PHD  Machine Learning, AI  Web System Development.
Creating and Editing a Web Page Using Inline Styles
Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
Using Advanced Cascading Style Sheets
Windows Apache MySQL PHP Radoslav Georgiev Telerik Corporation
Install WordPress with Xampp. By With Thanks to: Rupesh Kumar.
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
Student iDrive Access ESU Website Server Storage Space.
Click it Apache Service will start If Skype is on, then Quit Skype and exit from Skype. Does not work if Skype is On. You can start Skype later on.
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Adding an image to a page in Dreamweaver Uploading files to x10hosting Editing uploaded files in x10hosting Adding links in Dreamweaver Uploading linked.
Web Programming – Java Script Association of Computing Activities Computer Science and Engineering Indian Institute of Technology Kanpur.
Follow these simple directions to create a place to save and share files.
Simple Pages for Omeka Lauren Dzura LIS
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
1 Session 1: Introduction to HTML Spring Today’s Agenda Cover useful terminology for today’s session HTML, browsers, servers, etc. HTML Tags Get.
Websites 101 Technology Committee UPSOM. Web Class – Goals  Make a simple web page (or series of pages)  Upload that page to the internet  Feel comfortable.
Computing Theory: HTML Year 11. Lesson Objective You will: o Be able to define what HTML is - ALL o Be able to write HTML code to create your own web.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Write HTML code using a text editor application such as.
CIS166AE : PHP Web Scripting Rob Loy. Tonight’s Agenda Housekeeping items Housekeeping items PHP basics PHP basics Student connection to server Student.
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Saving Work to Your School Server Click through this presentation at your own speed. Use it as a review or a guide while saving a project.
XAMPP Introduction to Web Programming Kirkwood Community College Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved Web Server Software Distribution.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
WAMP Windows Apache MySQL and PHP i.e. “WAMP”. Why WAMP? WampServer is a Windows web development environment. It allows you to create and test web pages.
Uploading documents to the site Сlick “Add document” on the home page To send several files enable Add-on “Microsoft Office”
PHP “Personal Home Page Hypertext Pre-processor” (a recursive acronym) Allows you to create dynamic web pages and link web pages to a database.
Lecturer : 이선아  APM  Apache  PHP  MySQL.
PART 2 INTRODUCTION TO DYNAMIC WEB CONTENT AND PHP.
Setting up Dreamweaver to use your local WAMP testing Server
 PHP program can be run under various like WAMP, XAMPP etc.  WAMP Server: this server is a web development platform which helps in creating dynamic.
1 After completing this lesson, you will be able to: Get around the Internet with your browser. Connect to the Internet. Print Web pages. Save Web pages.
Professor Syed Rizvi.  Download xampp software package from:  windows.html
Unit 1 – Web Concepts Instructor: Brent Presley.
Steps to Install VirtueMart 1. Setup Database 2. Download VirtueMart 3. Setup VirtueMart 4. Test installation Prerequisites: 1. XAMPP installation complete.
Creating and Editing a Web Page
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 2: Introduction to IS2803 Rob Gleasure
KompoZer. What is it? A FREE product used to design websites A FREE product used to design websites A WYSIWYG HTML Editor A WYSIWYG HTML Editor –WYSIWYG:
HTML Introduction 2-1. Lecture 6 HTML - HyperText Markup Language  not a programming language  structure text into title, body, paragraphs, lists, links,
HTML Introduction 2-1. Lecture 6 HTML - HyperText Markup Language  not a programming language  structure text into title, body, paragraphs, lists, links,
Create Windows Setup and Deployment Projects Windows Development Fundamentals LESSON 5.2.
PHP Syntax You cannot view the PHP source code by selecting "View source" in the browser - you will only see the output from the PHP file, which is plain.
PHP Form Processing * referenced from
Session 1: Introduction to HTML Fall Today’s Agenda Talk about the functions of the Internet Cover useful terminology for today’s session HTML,
Introduction to HTML Hypertext Mark-up Language. HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a.
Installing a Moodle Test Site The painless and easy way.
Wordpress. What is Wordpress? Wordpress is a content management system. It is free and easy to use. It allows you to build dynamic websites It is built.
Weebly is Your Friend. * To Enhance And Promote Your Curriculum * To Provide A Student Resource * Add Efficiency to Your Planning * Informational * Promote.
1 Using an Integrated Development Environment. Integrated Development Environments An Integrated Development Environment, or IDE, permits you to edit,
XP Creating Web Pages with Microsoft Office
Intro to WordPress (Using XAMPP)
How to create a web page using word …
Active Server Pages Computer Science 40S.
UFIE8K10-M Data Management 2006/7
You’ve created an e-Learning resource...
By Jonathan Rinfret CREATING A BASH SCRIPT By Jonathan Rinfret
Pemrograman V (PHP) “Introduction”
CoreFTP.
Introduction to Web Page Design
CoreFTP.
PHP and Forms.
Web Page Design CIS 300.
HTML Text editors and adding graphics
RUNNING A PHP SCRIPT UNDER XAMPP SERVER
Week 1 : Preparation.
XAMPP.
Presentation transcript:

Lab 1 Hello World in PHP CSN Class Lab Activity No. 1

Lab 1 – Hello World 1. Install XAMPP on your computer 2. Open the XAMPP control panel and start the Apache service (C:\xampp\xampp- control.exe) 3. Click the Admin button. XAMPP will start the browser and open localhost/xampp. 4. For new installation, click the Language preferred (English) 5. Click the phpinfo() link 6. Find the value of DOCUMENT_ROOT

Lab 1 – Hello World 7. Using the file explorer, open the folder specified in the DOCUMENT_ROOT setting. 8. Under that location, create your own folder. Ex. DOCUMENT_ROOT\nuarinfs 9. Using a text editor, create a file and save it as lab1.php under the directory specified by the DOCUMENT_ROOT setting.

Lab 1 – Hello World 7. Type the following code: 1. echo ' '; 2. echo ' Hello World. Today is ', date('m/d/Y'), ' '; 3. echo 'Your lucky numbers are ', mt_rand(1,31), ' and ', mt_rand(1,31), ' '; 4. echo ' '; 5. echo ' ';

Lab 1 – Hello World 11. Using a web browser, open your lab1.php If using different port number (ex. 8080) Replace nuarinfs with your own folder name 12. Debug your code if necessary and refresh the page. 13. Upload your lab1.php using the file manager  File Manager  File Manager

Lab 1 – Hello World 11. Upload your lab1.php using the file manager  File Manager  File Manager Good Luck and Happy Coding!