iNET Interactive - Online Advertising Agency
          
   Home    Authors    About    Login    Contact Us
   Search:   
Advanced Search     
  Articles

  ASP (26)
  ASP.NET (19)
  C and C++ (4)
  CFML (2)
  CGI and Perl (16)
  Flash (2)
  Java (7)
  JavaScript (28)
  PHP (92)
  MySQL (13)
  MSSQL (3)
  HTML (34)
  SEO (9)
  Visual Basic (12)
  CSS (13)
  SSI (5)
  XML (12)
  C# (14)

  Developer News

May 13, 2008
Rainbow Links
EarthWeb.com
 
May 13, 2008
MySpace Profile Page Resources
HTML Goodies
 
May 13, 2008
How to Upload Your Photos onto the Web
HTML Goodies
 
May 13, 2008
Email Marketing for MySpace Artists
HTML Goodies
 
May 13, 2008
Top Online Marketing Techniques
HTML Goodies
 
May 13, 2008
I want to create a site just like ____, is that a violation of...
About
 
Courtesy of moreover.com
 
Want to receive new articles via e-mail? Click here!
/Home /PHP /Introduction to PHP

PHP Lesson One - Entry Point 

  Views:    29845
  Votes:    5
by James N Hitz 1/23/04 Rating: 

Synopsis:

Lesson 1: introduces the PHP basics outlining PHP strengths, weaknesses and also where to get PHP.
Pages: firstback1 3 4 5 6 7 8 9 forwardlast
The Article

What is PHP?

PHP is a server-side HTML Preprocessor that is HTML-embedded. Under normal cirumstances, your web browser sends GET instructions to the web server which then coughs up a web page in "plain HTML" for your browser to display. This is the normal setting!

PHP changes things a little bit. When your browser makes a GET request for a PHP document, instead of the server just coughing up the page, it gives it up to the PHP pre-processor that does some magic with it and then gives it back to the server. The server then coughs (it actually vomits this time around) the page to you as though it were plain HTML. The server behaves as if nothing happenned and takes all the glory. Lying infidel!

Wait a minute! Just how did the server identify the file as a PHP document and not just a normal HTML file? PHP files are given a special file-extension (.php .phtml or .php3). That way the server knows NOT to touch them until they have been processed by PHP and converted into HTML. Smart Huh?!

Be informed though, the server administrator may decide to set up another method for the web server to identify PHP scripts other than the standard .php and .php3. Mmmm.

Pages: firstback1 3 4 5 6 7 8 9 forwardlast

Similar/related articles:


 
  Sponsors