Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is PHP ? How to use it ?
08-20-2007, 12:11 AM
Post: #1
What is PHP ? How to use it ?
What is PHP?
PHP is now officially known as "PHP: HyperText Preprocessor". It is a server-side scripting language usually written in an HTML context. Unlike an ordinary HTML page, a PHP script is not sent directly to a client by the server; instead, it is parsed by the PHP binary or module, which is server-side installed. HTML elements in the script are left alone, but PHP code is interpreted and executed. PHP code in a script can query databases, create images, read and write files, talk to remote servers - the possibilities are endless. The output from PHP code is combined with the HTML in the script and the result sent to the user�s web-browser, therefore it can never tell the user whether the web-server uses PHP or not, because all the browser sees is HTML.

How to use it?
To use PHP, make a file and give it a ".php" file extension such as myfile.php.
Inside this file you can put any HTML that would normally go in a Web page. Anywhere in that file, within the HTML, you can put your PHP code (with the proper start and end PHP tags).
You can learn more about PHP at <!-- m --><a class="postlink" href="http://php.net">http://php.net</a><!-- m --> and <!-- m --><a class="postlink" href="http://zend.org">http://zend.org</a><!-- m --> You can find PHP scripts at <!-- m --><a class="postlink" href="http://hotscripts.com">http://hotscripts.com</a><!-- m -->
Visit this user's website Find all posts by this user
07-30-2008, 04:12 PM
Post: #2
Re: What is PHP ? How to use it ?
PHP run through only Apache web server?
Find all posts by this user
08-19-2008, 12:48 PM
Post: #3
Re: What is PHP ? How to use it ?
Thank you for your informations, i am php learner. Please suggest me online tutorial for PHP
Find all posts by this user
Thread Closed 


Forum Jump: