<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Apache is not running with php so I shows
the php file as a text file so you need to get php running with apache<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
preston-bounces@mailman.lug.org.uk [mailto:preston-bounces@mailman.lug.org.uk] <b><span
style='font-weight:bold'>On Behalf Of </span></b>bob 2p2<br>
<b><span style='font-weight:bold'>Sent:</span></b> 20 April 2004 21:01<br>
<b><span style='font-weight:bold'>To:</span></b> preston@mailman.lug.org.uk<br>
<b><span style='font-weight:bold'>Subject:</span></b> [<st1:place w:st="on">Preston</st1:place>]
Streaming mp3 files</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>Hello
all, new to the list and pretty new to linux and was wondering if you might be
able to help with a task i've set myself.</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>I
have been trying to set up my system so i can remotely access my mp3's. I
followed a tutorial in linux format mag to use php and apache to slap a web
based interface on the front. I have installed mpeg123 to play the mp3's
themselves. Apache and PHP are up and running, and i have opened up /dev/dsp to
all users as the tutorial suggests however when i open the page that should
play my mp3 file the script doesn't appear to work. Code for the page itself is
as follows<br>
<br>
::<br>
<br>
<html><head><title>MP3 page</title></head><br>
<body><pre><br>
<?<br>
shell_exec("/usr/bin/mp3 play /tune.mp3");<br>
?><br>
</pre></body></html><br>
<br>
::<br>
<br>
The only thing i can spot that may not be right is that apache appears to run
as "nobody". Willl this prevent it from accessing my soundcard or
should the fact that it is open to all users override this? Oh and this is all
under slackware 9.1.<br>
<br>
Thanks in advance!</span></font><o:p></o:p></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>Bob</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br clear=all>
<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Help STOP spam with <a href="http://g.msn.com/8HMAEN/2731??PS=">the new
MSN 8 </a>and get 2 months FREE*<o:p></o:p></span></font></p>
</div>
</body>
</html>