title: Use PHP to mask URL of image-generating CGI script
body: <p>I have a networked camera that generates a video snapshot upon hitting  <code>http://192.0.0.8/image/jpeg.cgi</code>. The problem is that by accessing the root (i.e. <code>192.0.0.8</code>) directly, users can access a live video feed, so I hope to hide the address altogether.</p>
  
  <p>My proposed solution is to use PHP to retrieve the image and display it at <code>http://intranet/monitor/view.php</code>. Although users could create motion by hitting this new address repeatedly, I see that as unlikely.</p>
  
  <p>I have tried using <code>include()</code> and <code>readfile()</code> in various ways, but do not really use PHP often enough to understand if I'm going in the right direction. My best attempt to date  resulted in outputting the jpeg contents, but I did not save the code long enough to share with you.</p>
  
  <p>Any advice would be appreciated.</p>