title: PHP: Unexpected T_LIST
body: <p>I am using the following code to deliver and embed a flash file, i am using getimagesize to get the width and height of the swf but it doesn't seem to like the list part... anyone know where I'm going wrong?</p>
  
  <pre><code>&lt;?php include($_SERVER['DOCUMENT_ROOT']."/header.php"); ?&gt;
  &lt;h1&gt;&lt;?php print($_GET['tag']); ?&gt; &lt;a href="#rl"&gt;(Related files)&lt;/a&gt;&lt;/h1&gt;
  &lt;hr /&gt;
  &lt;div align="center"&gt;
  &lt;?php 
  $project = $_GET['project'];
  $file = $_GET['file'];
  $tag = $_GET['tag']
  list($width, $height, $type, $attr) = getimagesize("files/".$project."/".$file.".swf");  
  print('&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'.$width.'" height="'.$height.'" id="FlashID" title="'.$tag.'"&gt;');
  print('&lt;param name="movie" value="files/'.$project.'/'.$file.'.swf" /&gt;');
  print('&lt;param name="quality" value="high" /&gt;');
  print('&lt;param name="wmode" value="opaque" /&gt;');
  print('&lt;param name="swfversion" value="6.0.65.0" /&gt;');
  print('&lt;param name="expressinstall" value="/Scripts/expressInstall.swf" /&gt;');
  ?&gt;
  &lt;!--[if !IE]&gt;--&gt;
  &lt;?php print('&lt;object type="application/x-shockwave-flash" data="files/'.$project.'/'.$file.'.swf" width="'.$width.'" height="'.$height.'"&gt;') ?&gt;
  &lt;!--&lt;![endif]--&gt;
        &lt;param name="quality" value="high" /&gt;
        &lt;param name="wmode" value="opaque" /&gt;
        &lt;param name="swfversion" value="6.0.65.0" /&gt;
        &lt;param name="expressinstall" value="/Scripts/expressInstall.swf" /&gt;
        &lt;!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --&gt;
        &lt;div&gt;
          &lt;h4&gt;Content on this page requires a newer version of Adobe Flash Player.&lt;/h4&gt;
          &lt;p&gt;&lt;a href="http://www.adobe.com/go/getflashplayer"&gt;&lt;img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /&gt;&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
  &lt;?php include($_SERVER['DOCUMENT_ROOT']."/footer.php"); ?&gt;
        &lt;!--[if !IE]&gt;--&gt;
      &lt;/object&gt;
      &lt;!--&lt;![endif]--&gt;
    &lt;/object&gt;
  &lt;script type="text/javascript"&gt;
  &lt;!--
  swfobject.registerObject("FlashID");
  //--&gt;
  </code></pre>
  
  <p></p>