Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Flashbox testing server issue

  • 24-11-2006 06:40PM
    #1
    Registered Users, Registered Users 2 Posts: 1,470 ✭✭✭


    Hey. Im pretty much a noob when it comes to webdesign, and my request may seem trivial, so bare with me!

    I have the source code for a flash box below - I was wondering could someone stick it into a PHP dreamweaver page, and run it on a test server to see if it works for them?

    My problem is that the FTP access is blocked out on my network and i want to know whether the flashbox is the problem, or just that i can't run it on without a test server.

    If im doing something completely stupid - feel free to say!

    Thanks for any assistance




    <?php
    include "langsettings.php";
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"&gt;
    <html>
    <head>
    <meta name="author" content="Kai Oswald Seidler, Kay Vogelgesang, Carsten Wiedmann">
    <link href="xampp.css" rel="stylesheet" type="text/css">
    <title></title>
    </head>

    <body>
     <p>
    <h1><?php echo $TEXT; ?></h1>

    <?php
    if (empty($_GET)) {
    $_GET = "ceci n est pas un ami d apache";
    }
    ?>

    <object data="mingswf.php?text=<?php echo urlencode($_GET); ?>" width="520" height="320" type="application/x-shockwave-flash">
    <param name="movie" value="mingswf.php?text=<?php echo urlencode($_GET); ?>">
    <param name="loop" value="true">
    <a href="http://www.macromedia.com/go/getflashplayer"><img src="http://www.macromedia.com/images/shared/download_buttons/get_flash_player.gif&quot; width="88" height="31" alt="get flash player" title=""></a>
    </object>

    <p class="small">
    <A HREF="http://ming.sourceforge.net&quot; target="new">http://ming.sourceforge.net</A&gt;
    <p>
    <form name="ff" action="ming.php" method="get">
    <input type="text" name="text" value="<?php echo $_GET; ?>" size="30">
    <input type="submit" value="<?php echo $TEXT; ?>">
    </form>
    <?php
    if (isset($_GET) && ($_GET == "in")) {
    include "code.php";
    $beispiel = $_SERVER;
    pagecode($beispiel);
    } else {
    echo "<p><br><br><h2><u><a href=\"$_SERVER[PHP_SELF]?source=in\">".$TEXT."</a></u></h2>";
    }
    ?>
    </body>
    </html>


Comments

  • Closed Accounts Posts: 8,866 ✭✭✭Adam


    We need the mingswf.php file, and perhaps the langsettings.php file. Also, when posting code, please use one of the following tags: [ html][ /html], [ code][/ code], [ php] [ /php] (without the spaces)


Advertisement