sun's longitude:36 08 40 
¡¤ ÀÚÀ¯°Ô½ÃÆÇ ¡¤ ¹¯°í´äÇϱ⠡¤ ¾ËÆĹ®¼­ ¡¤ RPMS list
¡¤ »ç¿ëÀÚ¹®¼­ ¡¤ ÆÁ/FAQ¸ðÀ½ ¡¤ ¸®´ª½ºLinks ¡¤ ÀÚ·á½Ç
¡¤ ¼­¹öÁ¤º¸ ¡¤ ¿î¿µÀÚ ¡¤ Books/FAQ ¡¤ FreeBSD
 
/board/read.php:¼Ò½ºº¸±â   
 
¾ËÆĹ®¼­
ÀÚÁÖ Àؾî¸Ô°Å³ª, ¸Þ¸ðÇØ µÑ Çʿ伺ÀÌ ÀÖ´Â ÆÁÀ̳ª ¹®¼­, ±âŸ µîµî
[*** ¾²±â ±ÝÁö´Ü¾î ÆÐÅÏ ***]
±Û º»¹® Áß°£¿¡ ¾÷·ÎµåÇÒ À̹ÌÁö¸¦ Ãß°¡ÇÏ´Â ¹æ¹ý : @@À̹ÌÁöÀ̸§@@
ex) @@foo.gif@@
69 ¹ø ±ÛÀÇ ´äÀå±Û: Re: [PHP/MP3] url streaming
±Û¾´ÀÌ: »êÀÌ [ȨÆäÀÌÁö] ±Û¾´³¯: 2003³â 11¿ù 09ÀÏ 18:37:03 ÀÏ(Àú³á) Á¶È¸: 4101

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'].&
quot;\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)

 
ÀÌÀü±Û : [PHP/MP3] url streaming
´ÙÀ½±Û : [SE] icmp_redirect  
 from 61.254.75.40
JS(Redhands)Board 0.4 +@

|±Û¾²±â| |´äÀå¾²±â| |¼öÁ¤| |»èÁ¦|
|ÀÌÀü±Û| |´ÙÀ½±Û| |¸ñ·Ïº¸±â|
Àμâ¿ë 

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

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