TIME NOW
World current time now,
CALENDAR
Calendar monthly, yearly
login GOLD PRICE, RATE
login HOROSCOPE
login DICTIONARIES, LISTS
login SCIENCE EDUCATION RELIGION
login FINANCE, BUSINESS
login WORLD COUNTRIES, WIKI

PHP scripts, code, examples, tutorial

Page bottomNext article  ALL TOPICS

PHP. About, faq

 
 If you create script, PHP script will be executed on some server, HTML page as a result will sent to the browser. You can't execute PHP, if you have no server. It is used with Apache web server. Suggested platform -Xampp, which contains mysql , php, apache and another useful stuff. PHP is a scripting language originally designed for producing dynamic web pages. More about history ande features here: It has evolved to include a command line interface....

 PHP is a server-side scripting language for creating dynamic Web pages. You create pages with PHP and HTML. When a visitor opens the page, the server processes the PHP commands and then sends the results to the visitor's browser, just as with ASP or ColdFusion. Unlike ASP or ColdFusion, however, PHP is Open Source and cross-platform. PHP runs on Windows NT and many Unix versions, and it can be built as an Apache module and as a binary that can run as a CGI. When built as an Apache module, PHP is especially lightweight and speedy. Without any process creation overhead, it can return results quickly, but it doesn't require the tuning of mod_perl to keep your server's memory image small.

 In addition to manipulating the content of your pages, PHP can also send HTTP headers. You can set cookies, manage authentication, and redirect users. It offers excellent connectivity to many databases (and ODBC), and integration with various external libraries that let you do everything from generating PDF documents to parsing XML.

PHP script example:
<?php

$a = 'mano batai'; // kintamieji
$b = 'buvo du';

ECHO $A . $b . "<br>"; // spausdinimas
echo "$A $b <br>"; 

?>


Recommended links:

http://beta.phpformatter.com/
 
Page topNext article  ALL TOPICS



 Use username: Guest, Anonymous, Programmer






QUOTES:
In her first passion, a woman loves her lover, in all the others all she loves is love.
Lord Byron
Kindnesses are easily forgotten; but injuries! -- what worthy man does not keep those in mind?
William M. Thackeray
Happy is he who still loves something he loved in the nursery He has not been broken in two by time he is not two men, but one, and he has saved not only his soul, but his life.
Gilbert Keith Chesterton