|
Distant PHP e-learning, e-teaching lessons
|
PHP features and specifics. PHP vs ASP. |
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.
Links: PHP vs ASP
To begin:
<? echo "labas"; ?> or <?php phpinfo(); ?>
|
|
More Articles...
-
PHP. View variables, operations with them, constants, PART 1
-
PHP. View variables, operations with them, constants, PART 2
-
PHP. View variables, operations with them, constants, PART 3
-
PHP. View variables, operations with them, constants, PART 4
-
PHP. IF, SWITCH Conditions and comparison, PART 1
-
PHP. IF, SWITCH Conditions and comparison, PART 2
-
PHP. IF, SWITCH Conditions and comparison, PART 3
-
PHP. Data types of variables
-
PHP. System and predefined, reserved arrays: $_GET, $_POST, $_SERVER, $_ENV
-
PHP. Tasks and exercises: conditions and variables
-
PHP. Functions and scope of view, PART 1
-
PHP. Functions and scope of view, PART 2
-
PHP. Functions and scope of view, PART 3
-
PHP. Functions and scope of view, PART 4
-
PHP. Conditions and $_GET, $_POST, PART 1
-
PHP. Conditions and $_GET, $_POST, PART 2
-
PHP. Conditions and $_GET, $_POST, PART 3
-
PHP. Tasks and exercises: functions, reserved variables
-
PHP. FOR, WHILE, FOREACH Loops and inside operations, PART 1
-
PHP. FOR, WHILE, FOREACH Loops and inside operations, PART 2
-
PHP. FOR, WHILE, FOREACH Loops and inside operations, PART 3
-
PHP. FOR, WHILE, FOREACH Loops and inside operations, PART 4
-
PHP. Inserted files: include, require, include_once, require_once, PART 1
-
PHP. Inserted files: include, require, include_once, require_once, PART 2
-
PHP. Inserted files: include, require, include_once, require_once, PART 3
-
PHP. Inserted files: include, require, include_once, require_once, PART 4
-
Arrays and their functions, PART 1
-
Arrays and their functions, PART 2
-
Arrays and their functions, PART 3
-
Arrays and their functions, PART 4
-
Arrays and their functions, PART 5
-
Arrays and their functions, PART 6
-
Arrays and their functions, PART 6
-
Descriptions of various array functions
-
String functions and string operations, PART 1
-
String functions and string operations, PART 2
-
String functions, explanation
-
String functions and string operations, PART 3
-
String functions and string operations, PART 4
-
Date and time, PART 1
-
Date and time, PART 2
-
Date and time, PART 3
-
Mathematical functions, PART 1
-
Mathematical functions, PART 2
-
Operations with file content, PART 1
-
Operations with file content, data validation, PART 2
-
Operations with file content, file cursor, PART 3
-
Operations with file content- last row, PART 4
-
Operations with file content- wise view and insert, PART 5
-
Operations with file content- data in table and insert, PART 6
-
Operations with file content- data in table, insert and delete, PART 7
-
Operations with file content- data in table, search data, PART 8
-
Operations with file content, view and sort, PART 8a
-
Operations with file content, voting system, PART 9
-
Operations with file content, counters, PART 10
-
Operations with file content, counters advanced, PART 11
-
Operations with file content, counters with banners, PART 12
-
File content administrator project
-
Open remote file, CURL alternative, PART 0
-
Open remote file, CURL alternative, PART 1
-
Open remote file, CURL alternative, PART 2
-
Sessions, PART 1
-
Sessions, PART 2
-
MYSQL, PART 1
-
MYSQL, CRUD, PART 2
-
GED, counter, PART 1
-
GD, examples, PART 2
-
exec, system, shell, passthru, PART 1
-
exec, system, shell, passthru, PART 2
-
GD, captcha
-
File system functions, PART 1
-
File system, list files, PART 2
-
File system functions, PART 3
-
PHP. Serialization of data, when number of fields is not clear.
-
PHP. MYSQL. Connection. Unsuccessful connect. I can't connect.
|
|
|