title: How to display a PHP site using iframe in Google Site
body: <p>I'm trying to add an Embed code in my Google Site</p>
  
  <p>In the HTML, I'm trying to use <code>&lt;iframe&gt;</code> to display other sites in .aspx and .php.</p>
  
  <p><code>&lt;iframe&gt;</code> works totally fine with .aspx site. However, it does not display .php content. </p>
  
  <p>To display .aspx, this is how my <code>&lt;iframe&gt;</code> part code looks like, which works fine.</p>
  
  <pre><code>&lt;iframe              
      src="https://XXXX.aspx" 
      frameborder="0"
      scrolling="no" 
      style="overflow:hidden;height:100%;width:100%" 
      height="100%" 
      width="100%"&gt;
  &lt;/iframe&gt;
  </code></pre>
  
  <p>However, when I added a .php site to iframe, it either shown nothing or returned 404 error.</p>
  
  <p>The following was what I tried, and both of them did not work.</p>
  
  <p>This returns a blank page</p>
  
  <pre><code>&lt;iframe              
      src="https://www.php.net/manual/en/tutorial.firstpage.php" 
      frameborder="0"
      scrolling="no" 
      style="overflow:hidden;height:100%;width:100%" 
      height="100%" 
      width="100%"&gt;
  &lt;/iframe&gt;
  </code></pre>
  
  <p>AND</p>
  
  <p>This returns a 404 error</p>
  
  <pre><code>&lt;iframe              
      src=&lt;?php print "https://www.php.net/manual/en/tutorial.firstpage.php" ?&gt;
      frameborder="0"
      scrolling="no" 
      style="overflow:hidden;height:100%;width:100%" 
      height="100%" 
      width="100%"&gt;
  &lt;/iframe&gt;
  </code></pre>
  
  <p>Please help!</p>