Вы находитесь на странице: 1из 47

..

.
___________________

___________..

, , .., , )

_____________ 20___ .
_________________ 20___ .



WEB- -
.230103.460.8399.

__________________

..

__________________

. .

__________________

..

__________________

..

__________________

, 2011 .

.
________ ..
____________________

460
230103


: Web- -

1
Web-;
;
,
;
;
.
2

;
, Web;
;

;
;
;
.
3
.
4
;
.


;
Web-;
.
..

6 28.01.2011 .
________________________

19. 02. 2011 .

__________________

__________________________________________________

1.1 Web- 4
1.2 Web-

1.3

1.4 ,

1.5

15

17

2.1

17

2.2 Web-

17

2.3

18

2.4 Web-

21

22

3.1 Web-

22

3.2 Web-

24

3.3

29

3.4

30

32

4.1

32

4.2

33

4.3 Web-

38

41

43

44


, ,
!
, ,
web-. "
", - ,
.. ,
.
? .
. ,
. , ,
.
,
,
, ..
, ,
.
, Web-
-.

, , ,
.

.230103.460.8399.
.

..

..

..

. .

..

..

45

, .460

1.1

Web-


.
8

,
. .

, , . ,
-.

, ,
.
1.2 Web-

:
- ;

-
;

- ;
- .

.230103.460.8399.
.

..

..

..

. .

..

..

45

, .460

1.3

Web-

-
, ( )
. : Perl, PHP, ASP, ASP.Net, JSP, Coldfusion
( ) PHP
ASP.Net. , ,
MySQL ORACLE.
PHP ASP.Net.
PHP (Hypertext Preprocessor)
(). , ,
- , Apache
Internet Information Services.
PHP5.
Microsoft Zend,
PHP Internet Information Services 7 ( Windows Server 2008) PHP
.
ASP.Net (Active Server Pages .Net) Microsoft. ASP.Net ,
, .
4. , ASP.Net
ASP. ASP.Net-
.
PHP , ASP.Net.
, PHP .
PHP ,
, ASP.Net.
PHP? , , .

.230103.460.8399.
.

,
: , PHP
, ASP.Net.
PHP ,
ASP.Net . ,
PHP-, ,
ASP.Net.
PHP .
PHP, ASP.Net Microsoft Web , Windows-.
, ,
, , , -
, .
-. HTTP ,
-. Windows-
( , ,
).
.
HTTP. ,
-.
- ASP.Net ,
() . , (, ), PHP html-, ,
, , ,
html- -: -.
ASP.Net-,
, ,

.230103.460.8399.
.

,
.
MySQL ORACLE.
MySQL
, , , , .
MySQL ,
. MySQL
SQL. MySQL
. ,
MySQL . ORACLE
,
:

, , .
SQL, PL/SQL
,
. ,
ORACLE 11g ,
Grid. ORACLE,
MySQL .
MySQL - PHP
Denwer (, TopServer),
. ,
. .
root .

. mysql. ORACLE
, .
,
. , -
,
.230103.460.8399.
.

. ,
MANAGER. .
MySQL , .
ORACLE .
PHP MySQL,
,

.
1.4 ,

:

Windows 7 ;

http- Apache 2.2.17, Win32

PHP 5.3.5

, PHP;

MySQL 5.1

phpMyAdmin 3.3.9

NotePad++ v. 5.7 HTML, CSS,

JavasScript PHP ;

Adobe Photoshop CS5;

Adobe Flash CS3;

Google Chrome 10.0.648.204, Opera 11, Mozilla FireFox 4,

IE 9.

, .

.230103.460.8399.
.


PHP.
MySQL. html,
(css) 3 javascript Jquery jquery-ui-1.8.8.
web-, PHP
( JSP, Perl , ASP.NET)
, ,
PHP. PHP
, :
,

PDF . .
. ,

. PHP -
, (, Apache
IIS), CGI-. ,

UNIX, GNU/Linux, Microsoft Windows, Mac OS X AmigaOS.
HTML ( . HyperText Markup Language
) .
web- HTML ( XHTML).
HTML ,
.
HTML -
1991-1992
(). HTML
, ,
. HTML
SGML
( ),
.230103.460.8399.
.

, .
, HTML
.

HTML

(). , HTML

, ,

). HTML
. ,
HTML
.
HTML .
HTML ,
.
,
(, <br>).
. , ,
- (, font.
, , HTML
( XHTML). .
HTML :

web-, , ,

, , ..;

.230103.460.8399.
.

10

- ,

.
JavaScript

. ECMAScript. JavaScript

. JavaScript ,
, ,
.
JavaScript - ,

- . , JavaScript
,
, , (currying), ,
(closures) .
JavaScript Adobe,
Adobe Photoshop, Adobe Dreamweaver, Adobe Illustrator Adobe InDesign.
jQuery

JavaScript,

JavaScript HTML.

jQuery

DOM,
DOM, . jQuery
API Ajax.
CSS - - HTML. 1995
W3C CSS
Web-.
.

, ,
HTML.
.
,

.230103.460.8399.
.

11

, HTML
.
.
, ,
( ).
.

Web-,
.
, .

.
HTML Web-
,
, . CSS

.
Windows 7 Windows NT,
Windows Vista. Windows NT 6.1
(Windows 2000 5.0, Windows XP 5.1, Windows Server 2003 5.2, Windows
Vista Windows Server 2008 6.0). Windows
Server 2008 R2, (
Windows) Windows Embedded Standard 2011,
Windows Embedded Compact 2011
22 2009 ,
,
, Windows Vista. ,
Volume Licensing, RTM 24 2009 .

21 2009 .

.230103.460.8399.
.

12

Windows 7 ,
Windows Vista, .
Windows 7 Inkball, Ultimate Extras; ,
Windows Live ( Windows, Windows .),
Microsoft Agent, Windows Meeting Space;

.
MySQL . MySQL
Sun Microsystems,
. GNU
GPL , .

MySQL

AB

.
phpMyAdmin - ,
PHP

MySQL.

phpMyAdmin

MySQL,
SQL .
-,
MySQL

SQL

.
phpMyAdmin .
,
,

MySQL.


,
.
GNU General Public
License

.230103.460.8399.
.

13

, XAMPP, Denwer, AppServ.


50 .
Apache HTTP- -.
Apache ,
Linux, BSD, Mac OS, Microsoft Windows, Novell NetWare, BeOS.
Apache
.

, ..
IPv6.
Notepad++

Windows

.
Scintilla, C++ STL
GPL.
, ,
.
Adobe

Photoshop

Adobe.
,
Adobe.

, , ,
3D-
. Photoshop Mac OS
Microsoft

Windows.

( ,
),
.
Adobe ImageReady,
CS3 Photoshop.

.230103.460.8399.
.

14

Photoshop Psd. Psd .


( Macromedia
Fireworks, Corel Photo-Paint, Pixel image editor,)
.
Adobe Flash CS3
. ,
.

, ,
, 3D-, XFL
Adobe AIR .
,

.
- ,
,
"".
,
, .

1.5

.
. , ,
,
.

.230103.460.8399.
.

15

.230103.460.8399.
.

16

2.1
Web-
, , ,
.
Web,
.
2.2 Web-
html,
JavaScript, CSS, JavaScript

JQuery JQuery-UI,
PHP

MySQL.
, .
3 : link, news, chema
link , .
1 - link

id
name

int(5)*Autoincrement
Varchar(255)

link
text

Varchar(255)
text

.230103.460.8399.
.

..

..

..

. .

..

..

17

45

, .460

news .
2 - news

id
tittle
text
author

int (2)*Autoincrement
Varchar(255)
text
Varchar(255)

chema .
3 - chema

id

int (2)*Autoincrement

color

Varchar(255)

2.3 Web-
http://antikorssh.ru/
.
(
flash-). , .
,
(, , , , -,
, ).
,
-.
.

.230103.460.8399.
.

18

3

.
.
,
-.
- .

.
,
.
. ,
.

.230103.460.8399.
.

19

flash-, .

.
,
http://antikorssh.ru/admin_anti.php. ,
,
.
,
,
.
,
, ,
.

. .

, MS WORD.

, .

.230103.460.8399.
.

20

2.4
,

. , ,
:
.
.

, ,
.
. ,
. "" ,
, ,
.
-


.
PHP,
,

mysql_error(),

SQL-, PHP.

.230103.460.8399.
.

21

3
.1
,

-.

. , ,
, ,

,

: !,

.
-

, :
!.
, , .

, .
- ,
,
.

.230103.460.8399.

..

..

..

. .

..

..

22

45

, .460

, ;

, ;

, ,

web-

:
1

3 ;

7 ;

21 ;

3 ;

1 ;

5 .

40 .


25
20
15

10
5

0
1

.230103.460.8399.
.

23

, ,
.
4 Web-

. .

-

.
.

.
.
.


.

.

.
.
.

3.2 -

, .. .
=+,

(1)

, .
, .
, .
3.2.1.
,

.
, ,
, ,
.
.230103.460.8399.
.

24

:
- ;
- . ;
- ;
- ;
-
.
,
, .
3.2.2
,
.
:
= .. + ,

(2)

- , .
. - , .
- , .
:
.. = + + + + + ,

(3)

- , .
- , .
- , .
- , .
- , .
- , .

.230103.460.8399.
.

25

1 :
= + ,

(4)

. , .
. , .

.
5

/
1
2
3
4
5
6

, .
.
5

,
. .

,
.


/, .

0,23

460

105,8

13

0,59

460

271,4

19

0,86

460

395,6

0,14

460

64,4

0,14

460

64,4

0,14

460

64,4
966

34%.
.=10*97,35=973,5 .
.=2*97,35=194,7 .
=(966+973,5+194,7)*0,34=725,63 .
=2134,2+725,63=2859,83 .

.230103.460.8399.
.

26

2
, , ,
:
= * Ki,

(6)

- , .
Ki - i- , .

.
= /365,

(7)

- , .
= * ,

(8)

- , .
- , %.
:
= 100% /,

(9)

- , .
3 ,
, , .
=100%/3=33%.
=25000*0,33=8250.
= 8250/365=22,6.
=22,6*38=858,8.

.230103.460.8399.
.

27

3
-
6
.
:
= * * ,

(10)

, .
, ,
, 1 ,
8 . ,
: 46.
=46*8=368.
100 , .. 0, 1.
2,83 .
.= 368*0,1*2,83=104,1.
4
6
/
1
2

. - , .
, .

.
10
10

.
60
60
:
70

5 ,
.
6 ,
.

.230103.460.8399.
.

28

:
. =2859,83+858,8+104,1+70=3892,73 .
5% :
.= 3892,73*0,05=194,6 .
:
.= 3892,73+194,6=4087,33.
:
= 4087,33.
3.3
-
:
- :

, ..

;
- : .RU
2domains.ru 99 .;
- : ,
.. .
.
:
7

,
1-

1-

1000
4
1 .
5 .
4 . 20

.230103.460.8399.
.

29

, :
8



.
0

.
4087,33

.
4087,33

.
99

.
0

3.4
, ,
, ,
.
:
= ,
-
, ;
- ,
, .
= * ,
- , ;
- .
4-5%
, .
- :
, = () / ( * )

.230103.460.8399.
.

30

Web- - (
9).
1 4087,33 .
2 99 .
3 4000 .
=4246,33 .
10,
0,5 .
= (4246,33) / (0,5* 4000) = 2
= 0,5* 4000 * 30 = 60000 .

.230103.460.8399.
.

31

4
4.1

,

.
, ,
().
- ,
,
. . :
, , ,
.

:
-

();
- ,
, .



.

, , ,
,

.230103.460.8399.
.

..

..

..

. .

..

..

32

45

, . 460

, ,
, ..

, ,
:
, , , ,
.

( ), (
).
,
, , , ,
, , ..
, , , ,
.

, ,
, ,
.
,
.
4.2


:
- - ,
,
;
.230103.460.8399.
.

33

- - ,
,
, ;
-

- ,

,
.
,

.
,
,
. :
-

, ;
-
,
;

, (
);
- (

);
- (
, ,
, ).
:
-

);

.230103.460.8399.
.

34

- - -

);
-
( );
- ,
.
:
- ( );
- ,

( ).
:
- (,
) ( );
-

) (
).
:
;
.
,

:
, ;
, ;
, ,
.
:
.230103.460.8399.
.

35

(

);
.

( - )
:
;
.

.

()

( ).
,
,
1+1, . ,
,
.

, .

, ( )
. ,
.
, , -
, ,
.

.

.230103.460.8399.
.

36


() .
, ,
,
.

,
.

,
.

, -
.
:

,
.
.

.
,
.
,
, ..
- ,
, .
.230103.460.8399.
.

37

, , .
.

.

,
CD-.


.
,
,
.

4.3

:
. : ,
. ,
. ,
, , .
-. -
.
( -
/).

.

.230103.460.8399.
.

38

SQL
SQL.
DoS- ( . Denial of Service, )
,
,
, .
(,
),
(

, , . .).
web- sql
. sql
:
$search = array ("'<script[^>]*?>.*?</script>'si",
"'<[\/\!]*?[^<>]*?>'si",
"'([\r\n])[\s]+'",
"'&(quot|#34);'i",
"'&(amp|#38);'i",
"/[^a-z0-9]/i",
"'&(lt|#60);'i",
"'&(gt|#62);'i",
"'&(nbsp|#160);'i",
"'&(iexcl|#161);'i",
"'&(cent|#162);'i",
"'&(pound|#163);'i",
"'&(copy|#169);'i",
"'&#(\d+);'e");
if(isset($_GET['page']) && $_GET['page']!="")
{$this->page = $_GET['page'];
$this->page = preg_replace($search,"", $this->page);}

.230103.460.8399.
.

39

, -
.
.
.

.230103.460.8399.
.

40

-.

.

,
, , .
,
-.
:

-;

,
,
.. .
,
,



.
.

.230103.460.8399.
.

..

..

..

. .

..

..

41

45

, .460

sql-.

,
-.

.230103.460.8399.
.

42

.
.

. 16

. 16

1 link

. 17

2 news

. 18

3 schema

. 18

. 19

. 20

. 23

. 24

10

1 .26

11

. 28

12

. 29

13

1 . 30

.230103.460.8399.
.

..

..

..

. .

..

..

43

45

, . 460

, X. Dynamic HTML / ,X.

. .: , 2008. 304 .: .
2

, / , ., .; . ..

,-: , 2009.-320. : .
3

, .. : , , /

, .. , -, 2009. - 300 . .
4

, .. Web-: , /

, .. - .:, 2009, . 170


5

, .. . , ,

- 2009.
6

, PHP 5. , 3- /

. 944, 2009 .
7

, .

, : [ ] (http://ruseller.com/).
10.06.2011.
8

, .

[ ]. . , ., . . . (1,95 Gb). 1 . . (DWD-ROM) : ., . ; 12 +


. . . : 486 ; 8 ;
Windows 95 Windows XP ; SVGA 32768 . ; 640480 ; 14 DWDROM ; 16-. . ; . . .- .
2014 .
9

JavaScript+jQuery

[ ]. . , ., . .
. (5,29 Gb). 2 . . (DWD-ROM) : ., . ; 12
+ . . . : 486 ; 8 ;
Windows 95 Windows XP ; SVGA 32768 . ; 640480 ; 14 DWD-

.230103.486.8395.
.

44

ROM ; 16-. . ; . . .- .
2014 .
10

. -

PHP / . , . ; - .: -, 2007. 608 .


11

, . PHP. = PHP Phrasebook.

.: , 2007. 384 . : .
12 -, . PHP 5 = Professional PHP 5 /
. . -, . , . , . - - .: ,
2006. 608 .
13 , . PHP / . , .
.: -, 2006. 464 .
14

].

(http://www.sozdaysait.com/). 10.06.2011.
15

- . HTML : [-

] (http://www.postroika.ru/). 10.06.2011.

.230103.486.8395.
.

44