Alright all, hope your all good. I was wondering if you could help me with this really stupid question.

Whats bothering me is that I have a script to print a html page to a browser(This page contains flash). This script has one argument, the $ENV{"QUERY_STRING"} which in this case would be http://eoinmurphy.netfirms.com/cgi-bin/game.cgi?Tetriswm Now this should open a webpage with the Tetris flash game on it, but it doesn't load the flash file. The rest of the page loads but the flash box stays blank. When I right click on it the box says that the movie hasn't loaded. I've already searched perlmonks and found this but it didn't help at all. All the problems described in those replies are not relevent to this question.

Heres the script's code:
my $game = $ENV{"QUERY_STRING"}; print qq(Content-type: text/html\n <html> <head> <title>$game</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1 +"> </head> <body bgcolor="#3366CC"> <table cellspacing="0" cellpadding="0" border="0" align="center"> <tr valign="middle"> <td width="550" height="107"> <div align="center"><b><font color="#FFFFFF" face="Arial, Helvetica, s +ans-serif" size="5">SMURFGAMES.CJB.NET Presents</font></b></div> </td> </tr> <tr> <td width="550" height="365" colspan="6" rowspan="4" valign="top"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= +"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# +version=4,0,2,0" width="550" height="360"> <param name=movie value="http://eoinmurphy.netfirms.com/flash/$game.sw +f"> <param name=quality value=high> <embed src="http://eoinmurphy.netfirms.com/flash/$game.swf" quality=hi +gh pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1 +_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wi +dth="550" height="360"> </embed> </object></td> </tr> <tr> <td width="550" height="1" valign="top"><img width="550" height="1" sr +c="transparent.gif"></td> </tr> </table> </body> </html> );

I would be honoured if you would state your opinions on my problem.
All the Best, Eoin...

If everything seems to be going well, you obviously don't know what the hell is going on.


In reply to GONE in a FLASH! by eoin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.