align="justify"> (. PHP: HypertextPreprocessor - PHP:,. PersonalHomePageTools (.) - -) -, -.-, -.
PHP -,,, PHP.
- -.:
POST GET,;
(MySQL, MySQLi, SQLite, PostgreSQL, Oracle (OCI8), Oracle, Microsoft SQL Server, Sybase, ODBC, mSQL, IBM DB2, Cloudscape ApacheDerby, Informix, Ovrimos SQL, LotusNotes, DB ++,) ;
HTTP;
HTTP;
cookies;
,.
,;
XForms.
LAMP - - (Linux, Apache, MySQL, PHP). ,,. (, PHP). ,:
;
;
;
().
PHP - php.ini,,. ,,,,,,,.
. 3 MySQL
- (). MySQL OracleCorporation. MySQL. WAMP, LAMP, XAMPP. MySQL,,, MySQL.
MySQL: MyISAM,, InnoDB,. , MySQL EXAMPLE,. GPL-, MySQL.
:
()
,
(,).
:
,,
,,, -
,,.
. 4 APACHE-HTTP
HTTP- - -. Apache, Linux, BSD, Mac OS, MicrosoftWindows, NovellNetWare, BeOS.
Apache. ,,.. LAMP - - (Linux, Apache, MySQL, PHP).
Apache,, HTTP. () ApacheSoftwareFoundation,.
, apache,. ,.
Apache C.
Apache.:
(httpd.conf);
(httpd.conf c 2.2 extra/httpdvhosts.conf);
(.htaccess).
,. , MPM..
(/ etc/passwd/etc/hosts).
, .HTTP Server. 500,. ApacheSoftwareFoundation, - opensource -.
,,,.
:
.. IP- (),.
,. MPM, Apache-ITK httpd uid guid.
,, (CPU, RAM,).
, Apach.
: (mod_php);
Python (modpython, modwsgi); (apacheruby);
Perl (modperl); (apacheasp).
, Apache CGI FastCGI,, C, C ++, sh, Java.
, PAM.
,. Apache, Unicode,,.
HTTP, 404 (NotFound) 403 (Forrbiden)..
. 5 phpmyadmin
phpMyAdmin, MySQL. ,, PhpMyAdmin.-,, MySQL. MySQL,,.
,,. ,, -,, -,, ...
,, SQL-. , MySQLQueryBrowserphpMyAdmin,.-,,, SQL,, LaTeX PDF.-.
, (),, (.2.1). ,. ,.
2.1 - phpMyAdmin
,,,.
SQL-,,,, (2.2)..
2.2 - phpMyAdmin
- (,), (,,). PHP.- $ Sql,, PHP,, phpMyAdmin-,,,.
SQL-, (.2.3.). «»,,,,, (, SELECT). , -,. SQL,,.
2.3 -
2
, -.., PHP-.
3. WEB-
. 1 Web-
WEB-:
.
-.
. 2
,.:.php,..php,. 7,, .php .php .php .css..php.
, Denwer.
: 5.2.4 2.6.1 5.0.45
. 3
.3.1.. 3:,,. ,. (. 3.2.)
. 3.1.- -
. 3.2.- «»
(style.css index.php).
(index.php):
lt; meta http-equiv=content-type content=text/html; charset=utf - 8/ gt;
..
lt; title gt; test_math lt;/title gt;
,.
lt; div id=wrapper gt;
lt; div id=header gt;
lt; divid=logo gt;
lt; h1 gt; lt; a href= lt;?=base_url ()? gt; gt; lt;/a gt; lt;/h1 gt;
lt;/div gt;
.
lt; divid=menu gt;
lt; ul gt;
lt; liclass=firstactive gt; lt; a href= lt;?=base_url ()? gt; gt; lt;/a gt; lt;/li gt;
lt; li gt; lt; a href= lt;?=base_url (/main/about_us )? gt; gt; lt;/a gt; lt;/li gt;
lt;/...