<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>PEAR Forum</title>
  <link>http://www.pear-forum.org/index.php</link>
  <description>PHP Extension and Application Repository</description>
  <language>english</language>
  <copyright>(c) Copyright 2006-2010 by PEAR Forum</copyright>
  <managingEditor>PEAR-forum.org &lt;pear@mowd.nl&gt;</managingEditor>
  <webMaster>PEAR-forum.org &lt;pear@mowd.nl&gt;</webMaster>
  <pubDate>Tue Sep 07, 2010 7:34 pm</pubDate>
  <lastBuildDate>Tue Sep 07, 2010 7:34 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>PEAR Forum</title>
    <url>http://www.pear-forum.org/images/pear-icon.png</url>
    <link>http://www.pear-forum.org/</link>
    <description>PHP Extension and Application Repository</description>
  </image>

                                      <item>
                                        <title>HTTP_Request and a wav file</title>
                                        <link>http://www.pear-forum.org/viewtopic.php?p=166#166</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.pear-forum.org/profile.php?mode=viewprofile&amp;amp;u=185'&gt;sjemmie&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 09, 2006 10:34 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi I want to start a wavbestand from a server wich is not reachable (sp?) from outside the network. &lt;br /&gt;
But with pear it is reachable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;lt;?&amp;nbsp; &amp;nbsp; require_once &amp;#40;'/opt/lampp/lib/php/HTTP/Request.php/'&amp;#41;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $req1 =&amp;amp; new HTTP_Request&amp;#40;&amp;quot;http&amp;#58;//ip adres/$code.wav&amp;quot;&amp;#41;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $req1-&amp;gt;setMethod&amp;#40;HTTP_REQUEST_METHOD_POST&amp;#41;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $req1-&amp;gt;addPostData&amp;#40;&amp;quot;code&amp;quot;, $code&amp;#41;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if &amp;#40;!PEAR&amp;#58;&amp;#58;isError&amp;#40;$req1-&amp;gt;sendRequest&amp;#40;&amp;#41;&amp;#41;&amp;#41; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#123;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $response2 = $req1-&amp;gt;getResponseBody&amp;#40;&amp;#41;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#125;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
With the code I can listen to the wav file but I want to start the wav file with a sound butten&lt;br /&gt;
But HOW can I do that?&lt;br /&gt;
&lt;br /&gt;
This is my sound button&lt;br /&gt;
&amp;lt;span id=dummyspan&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;input type='button' value='Listen' onClick=&amp;quot;DHTMLSound(('//here comes the url to the wav file'))&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I hope some can help</description>
                                        <comments>http://www.pear-forum.org/viewtopic.php?p=166#166</comments>
                                        <author>sjemmie</author>
                                        <pubDate>Wed Aug 09, 2006 10:34 am</pubDate>
                                        <guid isPermaLink="true">http://www.pear-forum.org/viewtopic.php?p=166#166</guid>
                                      </item></channel></rss>