Monday, January 25, 2010

INTRODUCTION TO WEB PROGRAMMING USING PHP


Yeah, I am studying now PHP because I want to teach my students how their website be more interactive, but before we start, I just want you to know about the basic information about it.

PHP is a powerful tool for making dynamic and interactive Web pages.PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. I ask my student what is the meaning of PHP in my class but they don’t know. So here is the meaning of it.

  • PHP stands for PHP: Hypertext Preprocessor
  • PHP is a server-side scripting language, like ASP
  • PHP scripts are executed on the server
  • PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
  • PHP is an open source software
  • PHP is free to download and use

What is a PHP File?

  • PHP files can contain text, HTML tags and scripts
  • PHP files are returned to the browser as plain HTML
  • PHP files have a file extension of ".php", ".php3", or ".phtml"

What is MySQL?

  • MySQL is a database server
  • MySQL is ideal for both small and large applications
  • MySQL supports standard SQL
  • MySQL compiles on a number of platforms
  • MySQL is free to download and use

PHP + MySQL

  • PHP combined with MySQL are cross-platform (you can develop in Windows and serve on a Unix platform)

Why PHP?

  • PHP runs on different platforms (Windows, Linux, Unix, etc.)
  • PHP is compatible with almost all servers used today (Apache, IIS, etc.)
  • PHP is FREE to download from the official PHP resource: www.php.net
  • PHP is easy to learn and runs efficiently on the server side

Where to Start?

To get access to a web server with PHP support, you can:

  • Install Apache (or IIS) on your own server, install PHP, and MySQL
  • Or find a web hosting plan with PHP and MySQL support

Thanks google for this information: but I have another way to easily configure all of these:

Or Download Xampp

It is a free and open source cross-platform web server package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages. So you do not need to configure it one by one. Just download it and its complete.

Here is the link on where to download:

http://xampp.en.softonic.com/

After you have downloaded the xampp, just install it, next next next…..

Then if have installed it, you can now see the configuration of your web server by typing this in your browser: http://localhost/xampp/

My blog now is just for installation. I will study tomorrow how to create my first program in PHP….. Im excited to learn new things. So happy… good day to all.

1 comment:

  1. very nice indeed !!!
    php is one of my favorite programming..
    It is the first programming I actually make a log-in form...It was a full filling achievement..
    and I'm learning a new programming in making website.. Business Catalyst Alternative very interesting to learn..

    ReplyDelete