php: about open new web page
<p>I want open new web page to display the image,when my php was create the image<br></p>

<pre><code>&lt;?
.........
$img = $file.create_image; // $img like http://abc.com/abc.jpg
header("Location: $img");
?&gt;
</code></pre>

<p>when i using header, it have a error<br></p>

<blockquote>
<pre><code>Cannot modify header information - headers already sent by (output....
</code></pre>
</blockquote>

<p>or using other php function to open new page.</p>
