WEB180 Lab 01 (15 pts)

stickyraffleΛογισμικό & κατασκευή λογ/κού

4 Νοε 2013 (πριν από 3 χρόνια και 10 μήνες)

73 εμφανίσεις

W E B 1 8 0
-
L a b 0
1


1

|
P a g e


WEB180


Lab 0
1

(15 pts)


Objective:

Intro to PHP




1.

What does PHP stand for? Is PHP a client side or server side scripting language?

PHP stands for Pre
-
Hypertext Processor and is a Server side language. This means that the script
can only function
while a server runs and reads the script. You couldn’t view the script through
the source code.

2.

What is meant when we say that scripting languages are event based?

Event based languages mean that there are functions written in the language waiting for a
n
action to take place to appropriately react to. This gives the user a personalized experience
while viewing a website with this script written to it.

3.

What does WAMP stand for and why do we need it for PHP?

WAMP stands for Windows, Apache, MySQL and PHP
. This is used to act as a server so the
author can detect how the script is acting because it is a server based language.

4.

If use a view source code feature in Firefox or Internet explorer, will I be able to see PHP code?
Why or why not?

The PHP code w
ill not be viewed as written because even though the script is written in a
certain format it will only be displayed as HTML. This in turn gives the viewer only the capability
to only use the script now view it.