Reading part of system file contents with PHP
<p>I have a <code>config</code> file, in <code>etc/</code> called <code>1.conf</code></p>

<p>Here is the contents..</p>

<pre><code>[2-main]
exten =&gt; s,1,Macro(speech,"hi {$VAR1} how is your day going?")
exten =&gt; s,4,Macro(dial,2,555555555)
exten =&gt; s,2,Macro(speech,"lkqejqe;j")
exten =&gt; s,3,Macro(speech,"hi there")
exten =&gt; s,5,Macro(speech,"this is a test ")
exten =&gt; s,6,Macro(speech,"testing 2")
exten =&gt; s,7,Macro(speech,"this is a test")
exten =&gt; 7,1,Goto(2-tester2,s,1)
exten =&gt; 1,1,Goto(2-aa,s,1)
[2-tester]
[2-aa]
exten =&gt; 1,1,Goto(2-main,s,1)
</code></pre>

<p><br>
<br></p>

<p>How can I read the content in between speech for example..</p>

<pre><code>exten =&gt; s,6,Macro(speech,"testing 2")
</code></pre>

<p>Just get <code>"testing 2"</code> from that.</p>

<p>Thank you in advance!</p>
