title: Echo the src value of an iframe on a page
body: <p>If I have a file called 'index.php' and this file contains a lot of HTML lines...</p>
  
  <p>Also (index.php) have this iframe:</p>
  
  <pre><code>&lt;iframe src="http://test.com" /&gt;
  </code></pre>
  
  <p>How I can use PHP to get the <code>src</code> which is "http:/test.com" ... so it will be like that:</p>
  
  <pre><code>$getiframesrc=THE_CODE_WHICH_I_WANT_SOMEONE_TO_TELL_ME_ABOUT_IT;
  </code></pre>
  
  <p>And I can easily echo the src of the iFrame by <code>echo $getiframesrc;</code></p>
  
  <p><strong>For example:</strong> If I want to make a browser using PHP, I want the URL Address Box's text to be the value of the iframe src (<strong><em>THIS IS ONLY AN EXAMPLE!!!</em></strong>)</p>
  
  <p>So, please guys tell me what should be :</p>
  
  <blockquote>
    <p>"THE_CODE_WHICH_I_WANT_SOMEONE_TO_TELL_ME_ABOUT_IT" .</p>
  </blockquote>
  
  <p><strong>EDIT:</strong> <code>$getiframesrc</code> will be in <code>index.php</code> too!</p>
  
  <p>And thanks :-)</p>