Presentation is loading. Please wait.

Presentation is loading. Please wait.

Server Side Scripting. Common Gateway Interface (CGI) The web is a client-server system.

Similar presentations


Presentation on theme: "Server Side Scripting. Common Gateway Interface (CGI) The web is a client-server system."— Presentation transcript:

1 Server Side Scripting

2 Common Gateway Interface (CGI) The web is a client-server system

3 Common Gateway Interface (CGI)

4 Getting ready for AMP Apache http://www.apache.orghttp://www.apache.org MySQL https://www.mysql.comhttps://www.mysql.com – phpMyAdmin PHP http://php.nethttp://php.net

5 AppServ (1 minute setup) Apache PHP MySQL phpMyAdmin http://www.appservnetwork.com/index.php Download it and try to install yourself

6 XAMPP https://www.apachefriends.org/index.html Free and easy to install Contains – X (Cross) Platform – Apache – MySQL – PHP – Perl – Download it and try to install yourself

7 Localhost Server Try this http://localhost/

8 Test your first script <?php echo "My first PHP script!"; ?>

9 Next script <?php $Cat = "Spot"; $Dog = "Clif"; print "My cat ". $Cat. " and my dog ". $Dog. " like to play together."; ?>

10 How to run PHP script Just tell your browser the php name For example localhost/test.php localhost/yourfolder/index.php localhost/yourfolder/test.php


Download ppt "Server Side Scripting. Common Gateway Interface (CGI) The web is a client-server system."

Similar presentations


Ads by Google