online- (48578)












Web

: online












2009.



. . .

. , , . , . , , , , . Web‑ , - . : . , C++, Perl, PHP .

.

, , . PHP.

Web , HTML. Web‑. HTML‑, . Web‑ .

: , , , , , , .

. , , Apache, MySQL, , , , IIS, ASP SQL Server.

Flash Video (FLV) , . , YouTube, Google Video, Smotri.com, , , RuTube, Tube.UA, Obivu, Repka.tv . , , .

FLV‑렖 , H.263. Flash Player 8 On2 TrueMotion VP6. On2 VP6 , . , , .

-, , , -. , YUV- On2 VP6 RGB. On2 VP6.

Flash Player 9 Update 3 - ISO Base MPEG‑4 Part 12, -젖 H.264. , . , -, .


FourCC

FLV1

H.263

FLV4

VP6

FLV5

H.264


FLV MP3, Nellymoser codec, ADPCM . Flash Player 9 Update 3, Adobe ISO Base (MPEG‑4 Part 12), AAC ( AAC-LC, Main Profile, HE-AAC).

FLV

FLV , . FLV Adobe Flash Player, . , mplayer light alloy.

, FLV:

  • Light Alloy

  • Winamp

  • MPlayer

  • GOM Player

  • The KMPlayer

  • VLC media player

FLV -, , , .

FLV

  • MEncoder MPlayer

  • Mac FLV Video Converter Mac.

  • ffmpeg2theora Theora

  • Free FLV Converter

  • FLV Convertor

  • Any Video Converter .

  • Movavi Flash Converter




1


1.1


online-, .


1.2


  1. Web, .

  2. web‑ :

    1. ( ).

    2. .

    3. .

    4. ( ).

    5. .

    6. .

  3. MySQL.

  4. PHP.

  5. , .

  6. :

    1. .

    2. .

    3. .

  7. Web‑ :

    1. .

    2. .

    3. .

    4. Web‑.




2.


2.1


, , .

: .

, , .


2.2


:

- 2.1.








2.1 -


. :

( 2.2) : , 堖 , .



2.2


.

.



2.3


  1. Windows XP

  2. apache_1.3.20‑win32

  3. mysql‑3.23.49‑win

  4. php‑4.1.2‑Win32

  5. MySQL Front

  6. Far manager 1.7




3.


3.1


( 3.1): user.


3.1


3.2


user ( name) ( pass) ( email) . id . user 3.2, 堖 3.3.



3.2 user


3.3 user




4.


4.1


web‑ ( 4.1).


4.1


( 4.2)


4.2


, , . ( 4.3):


4.3



( 4.4):


4.4


( 4.5):


4.5


, ( 4.6):


4.6


( 4.7)


4.7


, , 100 .

. . ( 4.8):


4.8


, ( 4.9):


4.9


4.4


:

  1. Web‑ .

  2. , root .

  3. phpMyAdmin user.

  4. .





:

  1. online .

  2. WebPHP.

  3. flv .

  4. .

  5. .

  6. .

  7. , , MySQL, web (Apache), .

  8. - , .





  1. , Web‑ MySQL. .: , 2001. 672.

  2. .., .., .., .. web‑: - ., 2003. 520.

  3. .. PHP 4. .: -, 2001. 576.: .

  4. . : / , . .: , 2003. 480.: .





index

Videoking


&


width=

search      
width= Go width=

width=  
                                                                                                           


TYPE= application/x-shockwave-flash PLUGINSPAGE= http://www.macromedia.com/go/getflashplayer menu= false name= relog>

width=
 

Добропожаловатьнасайтпросмотра onlineвидео

Каксделатьлазер

 

Котибогомол

 

Тачка

Всефайлынаходящиесянасервере



include katalog.php;

?>



 

Главная |

Добавитьвидео |

Регистрация

2009 Videoking. All Rights Reserved 


3

Videoking

width=

search      
width= Go width=

width=  
                                                                                                           


TYPE= application/x-shockwave-flash PLUGINSPAGE= http://www.macromedia.com/go/getflashplayer menu= false name= relog>


width=
 

 

 

 

 

регистрация




  


Главная |

Добавитьвидео |

Регистрация

2009 Videoking. All Rights Reserved 

1

Videoking

width=

search      
width= Go width=

width=  
                                                                                                           


TYPE= application/x-shockwave-flash PLUGINSPAGE= http://www.macromedia.com/go/getflashplayer menu= false name= relog>


width=

 

 

 

 

 

Добавитьвидео

 


                    

 

 

 

 

 

 

<font size= 3><b>: 100 !b>font>tr>

Главная |

Добавитьвидео |

Регистрация

2009 Videoking. All Rights Reserved 

connect.php

$dblocation = localhost;

$dbname = 1;

$dbuser = root;

$dbpasswd = 111;

$dbcnx = @mysql_connect ($dblocation,$dbuser,$dbpasswd);

if (!$dbcnx)

{

echo (

, .

);

exit();

}

if (!@mysql_select_db ($dbname, $dbcnx))

{

echo (

, ..

);

exit();

}

?>

upload.php


if ($_FILES[filename] [size] > 1024*3*1024)

{

echo ( 100 );

exit;

}

if (copy($_FILES [filename] [tmp_name],

C:\UsbWebserver\Root\MP3.$_FILES [filename] [name]))

{

echo (
);

echo ( :
);

echo ( :);

echo ($_FILES[filename] [name]);

echo (
:);

echo ($_FILES[filename] [size]);

echo (
:);

echo ($_FILES[filename] [tmp_name]);

echo (
:);

echo ($_FILES[filename] [type]);

} else {

echo ( );

}

?>



reg.php

include_once (connect.php);

{

if (empty($_POST['login']))

{

echo '
';

echo ;

}

elseif (empty($_POST['password']))

{

echo '
';

echo ;

}

elseif (empty($_POST['password2']))

{

echo '
';

echo ;

}

elseif ($_POST['password']!= $_POST['password2'])

{

echo '
';

echo ;

}

elseif (empty($_POST['email']))

{

echo ' e-mail
';

echo ;

}

elseif (! preg_match(/^[a-z09] {3,15}$/, $_POST['login']))

{

echo
;

echo ;

}

elseif (! preg_match(/^[a-zA-Z09] {3,15}$/, $_POST['password']))

{

echo
;

echo ;

}

elseif (! preg_match (/^\w+([\.\w]+)*\w@\w((\.\w)*\w+)*\.\w {2,3}$/, $_POST['email']))

{

echo e-mail
;

echo ;

}

else

{$login = $_POST['login'];

$password = $_POST['password'];

$password2 = $_POST['password2'];

$email = $_POST['email'];

$query = SELECT `id`

FROM `users`

WHERE `login`='{$login}' AND `password`='{$password}'

;

$sql = mysql_query($query) or die (mysql_error());

if (mysql_num_rows($sql) > 0)

{

echo ' ';

}


else

{

$query = INSERT INTO users (login, password, email)

VALUES ('$login', '$password', '$email');

$result = mysql_query($query) or die (mysql_error());

echo ' ';

}

}

}

?>



katalog.php

$dir =./MP3/;

$handle =opendir($dir);

$counter = 1;

while ($file = readdir($handle))

{

if (is_file ($dir. $file))

{

echo $counter.. ;

$counter++;


echo ;


// $file = basename ($file,.mp3);


echo $file
;


}

}


?>







- .
, VIP-.
. .