Pleas help... DOnt know how to Include flash

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Pleas help... DOnt know how to Include flash

Post by spamyboy »

Code: Select all

<?
    $page=$_GET['page'];

    $id = array(
    'mu' => '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="750" height="150" title="mu server">
        <param name="movie" value="data/swf/mu.swf" />
        <param name="quality" value="high" />
        <embed src="data/swf/mu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="150"></embed>
      </object>',
    );

    if (!isset ($id[$page])){
    echo "";
    }
    else {
    @include ($id[$page]);
    }
    ?>
How to make it work ?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Code: Select all

echo $id[$page]
?
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Post by spamyboy »

Nop, stil dont work whar I go to localhost
http://127.0.0.1/index.php?page=mu
I think there is bug noy in php script but in flash form, the way I include it
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Post by spamyboy »

PLeas Help anyone !!!
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

spamyboy wrote:PLeas Help anyone !!!
I really wish you would stop doing this! Consider this a warning! Image

Image
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

remove the error supression from your include?stop using error supression.stop it,stop it,and stop it;) I swear all your scripts have ten @'s in em :)
Post Reply