¿À´ÃÀº ÀÔÇÏÀÔ´Ï´Ù.sun's longitude:45 23 14 
¡¤ ÀÚÀ¯°Ô½ÃÆÇ ¡¤ ¹¯°í´äÇϱ⠡¤ ¾ËÆĹ®¼­ ¡¤ RPMS list
¡¤ »ç¿ëÀÚ¹®¼­ ¡¤ ÆÁ/FAQ¸ðÀ½ ¡¤ ¸®´ª½ºLinks ¡¤ ÀÚ·á½Ç
¡¤ ¼­¹öÁ¤º¸ ¡¤ ¿î¿µÀÚ ¡¤ Books/FAQ ¡¤ FreeBSD
 
/board/delete.php:¼Ò½ºº¸±â   
 
¾ËÆĹ®¼­
ÀÚÁÖ Àؾî¸Ô°Å³ª, ¸Þ¸ðÇØ µÑ Çʿ伺ÀÌ ÀÖ´Â ÆÁÀ̳ª ¹®¼­, ±âŸ µîµî
[*** ¾²±â ±ÝÁö´Ü¾î ÆÐÅÏ ***]
±Û º»¹® Áß°£¿¡ ¾÷·ÎµåÇÒ À̹ÌÁö¸¦ Ãß°¡ÇÏ´Â ¹æ¹ý : @@À̹ÌÁöÀ̸§@@
ex) @@foo.gif@@
 ¡Ú ±Û Áö¿ì±â Ç׸ñÀÔ´Ï´Ù. Çѹø ´õ »ý°¢ÇÏ½Ã°í °áÁ¤ÇϽʽÿÀ.!!!
Á¦¸ñ 94 ¹ø ±ÛÀÇ ´äÀå±Û : Re: [PHP/MP3] url streaming
 À̸§  »êÀÌ [Ȩ]http://linuxchannel.net/

X-Mozilla-Status: 0001
X-Mozilla-Status2:00000000
Message-ID: <3FAE0871.4347AA6@linuxchannel.net>
Date: Sun, 09 Nov 2003 18:27:13 +0900
From: ±èÄ¥ºÀ <san2@linuxchannel.net>
X-Accept-Language: en
MIME-Version: 1.0
To: "h3ll [deathmetal.at]" <hellhammer@chello.at>
Subject: Re: play.php
References: <000a01c3a526$bdf5d1d0$cd7e6e50@h3llserver>
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: 7bit

hi
my english is very poor .........T.T
...
good idea !!!

but,

[the 2 way of streaming mp3 files]

0. make URL(include localhost) playlists
1. shut of local HDD mp3 files
2. get of mp3 a URL file and shut

the 'play.php' is 0'th way and 1'th way and re-bitrate encoding

your choice : 0'th way or 0'th way + 2'th way

if your choice is 0'th way then, is simply.
just make a 'mp3-playlist'

example)
<?php
## this file name is a play.php
## make URL playlist
## require of url file exists
##
$pathinfo = pathinfo($_SERVER['QUERY_STRING']);
header('Content-Disposition: inline; filename=playlist_foo.m3u');
header('Content-Type: audio/x-mpegurl');
echo '#EXTINF:0,'.$pathinfo['basename']."\r\n";
echo $_SERVER['QUERY_STRING']."\r\n";
exit;
?>

if your choice is 0'th way + 2'th way, is some complex.

1 PHP coding(play.php)
<?php
## this file name is a play.php
## make URL playlist
## require of url file exists
##
$pathinfo = pathinfo($_SERVER['QUERY_STRING']);
header('Content-Disposition: inline; filename=playlist_foo.m3u');
header('Content-Type: audio/x-mpegurl');
echo '#EXTINF:0,'.$pathinfo['basename']."\r\n";
echo 'http://yourhost.com/path/stream.php?'.$_SERVER['QUERY_STRING']."\r\n";
exit;
?>

and then.

2. PHP coding (stream.php)

<?php
## this file name is a stream.php
## get URL file and shut
## require of url file exists
##
$pathinfo = pathinfo($_SERVER['QUERY_STRING']);
header('Content-Type: audio/mp3');
header('Content-Disposition: filename='.$pathinfo['basename']);
header('Content-Transfer-Encoding: binary');

$fp = fopen($_SERVER['QUERY_STRING'],'r');
fpassthru($fp);
exit;
?>

thanks !!!


"h3ll [deathmetal.at]" wrote:

> hey from austria i found your mp3 streamer, i like the way it works
> but i cant use it :( are u able to create a play.php that work like i
> need it ?should be a easy one for someone who's able to create a tool
> like yourmp3 streamer. i simply need a play.php that plays an url in
> winamp !! like:
> http://www.domain.com/play.php?http://www.anotherdomain.com/test.mp3 so
> that winamp starts up with a stream of test.mp3 i tried several things
> butit always started a download in ie should work for winamp and the
> microsoft mplayer2 greets and thnx in advance if you can help me on
> that markus (h3ll@deathmetal.at)
2003³â 11¿ù 09ÀÏ 18:37:03 ÀÏ(Àú³á)  from 61.254.75.40
0
¾ÏÈ£: °ø¿ë º¸¾È SSL ¼­¹ö°¡ ÁغñµÇ±â Àü±îÁö´Â off ÇÕ´Ï´Ù

apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.03(server) + (network) + (browser) seconds