Library tutorials & articles

An Introduction to PHP

Introduction

PHP is a server-side scripting language and interpreter that is available on a wide range of platforms, including some versions of Apache, and Microsoft's Internet Information Server (IIS). The original program was called Personal Home Page Tools, which is where the initials PHP come from. There are also a few other definitions of the name, mostly thought up in retrospect. Some say that PHP is a recursive three letter acronym meaning, PHP Hypertext Pre-processor. Another generally accepted definition is Pre Hypertext Processor. The PHP script is embedded in the Web page, and interpreted on the server before being sent to the client who requested the page. PHP is open source, and may be downloaded from www.php.net.

Comments

  1. 01 Jan 1999 at 00:00

    This thread is for discussions of An Introduction to PHP.

  2. 28 Jan 2004 at 15:16

    You can also do string concatenation like

    Code:

    $h = "Hello";
    $w = "World";


    $message = "$h $w";


  3. 21 Feb 2004 at 04:09
    hello

    I have in php a header which brings a save as box , but when file is down loaded it contains the 6 blank spaces at the start of of document .
    I have to avoid storing these blank spaces.Please help me to solve this problem.
  4. 04 Apr 2006 at 09:47

    In the PHP file should it be "$_POST["num"]" ?

    instead of just $num?

  5. 04 Apr 2006 at 10:20

    Yes, I think you're correct, although you could easily have a line like this:

    $num = $_POST['num'];


    to get around that problem. Which I think is what's missing from this tutorial Wink [;)]





  6. 02 Jan 2007 at 06:39
    Here they show how to send valued in one file to another(both are in same folder)
    but i need to send values in one folder to another


  7. 28 May 2009 at 22:12

    It is not just talk though: Zend server is flourishing despite the recession - "the Q1 of 2009 has been our strongest quarter ever," says Suraski - and although PHP's enterprise market share is small compared to Java or .NET, it is growing. Read more on ITJOBLOG.

  8. 23 Dec 2009 at 00:41

    i need information on PHP and MYSQL

Leave a comment

Sign in or Join us (it's free).

Gez Lemon I'm available for contract work. Please visit Juicify for details.

Related podcasts

  • The SitePoint Podcast: Compuwhatnow?

    Published 1 year ago, running time 0h35m

    In this show, the guys discuss Compuserve shutting down. You remember Compuserve, right? Also: US states gang up on Amazon with an “affiliate tax”, PHP 5.3 and Firefox 3.5 are released on the same day, the debate raging over the standard format for video in HTML 5, and XHTML 2 rides off into the ... php, html, on, can

Related jobs

Want to stay in touch with what's going on? Follow us on twitter or Facebook!