Thread: Beginning PHP
View Single Post
  #9 (permalink)  
Old 05-16-2008, 08:02 AM
v0id's Avatar   
v0id v0id is offline
Super Moderator
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,414
Last Blog:
CherryPy(thon)
Rep Power: 27
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: Beginning PHP

Quote:
Originally Posted by Xav
What's the best way to learn?
Get a great book (or internet resource) and start reading. While you're reading you shall think about the things you learn, and if you once think, "Hey! Why's that?", then go back in the book, and see if the question has already been answered previously.
Also, you will have to make some examples, and actually use what you have learned, in order to successfully continuing without forgetting what you previously read.

Quote:
Originally Posted by Xav
How is PHP integrated into webpages?
First of all, you'll need a server. This server will listen for incoming connections (also called clients) Every time a client is connecting, it will be serviced by the server, which is done in various ways. If the client is calling a PHP-file, the server will take the PHP-file and pass it to a PHP-interpreter. The PHP-interpreter will interpret the sourcecode, and return the generated HTML. The HTML will then be given by the server to the client, and the client will be able to read the document.
Reply With Quote