Something Wrong?
<p>When I run the following code:</p>

<pre><code>&lt;html&gt;&lt;head&gt;
&lt;title&gt;Code&lt;/title&gt; 
&lt;script type="text/javascript"&gt;
var height = "&lt;?= $height ?&gt;";
var width = "&lt;?= $width ?&gt;";
if (self.parent.frames.length &amp;&amp; self.parent.frames.length != 0) 
self.parent.location = document.location;

window.resizeTo(width,height);
window.moveTo(0,0);
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;?php
$url_path = $_GET['url'];
echo "&lt;img src={$url_path} /&gt;";
list($width,$height) = getimagesize({$url_path})
?&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>nothing happens. (obviously there is a form on a page which asks for an input of an image url..)</p>

<p>I need some help here, I am an absolute beginner to javascript and php, so help?</p>
