Show an image?

Discussion in 'PHP' started by Lucas806, May 13, 2013.

  1. #1
    I have a piece of code. I have 2 image links, but I cant get them to work how I want. The image links are http://clubpenguincheating.com/update/sensei/in.png and http://clubpenguincheating.com/update/sensei/out.png and here is the code:
    $im = imagecreatefrompng('http://clubpenguincheating.com/update/sensei/in.png'); // Image to insert data onto (Blank tracker image)
    $colour = imagecolorallocate($im, 250, 250, 250);  // Color of the text on the tracker
    $font = './Bebas.ttf'; // Name of the font to be displayed, can be any font you choose.
    imagettftext($im, 25, 0, 100, 70, $colour, $font, $status); // Where to displace the text for the status
    imagettftext($im, 25, 0, 100, 100, $colour, $font, $server); // Where to displace the text for the server
    imagettftext($im, 25, 0, 90, 130, $colour, $font, $room); // Where to displace the text for the room
    imagepng($im,'http://clubpenguincheating.com/update/sensei/out.png'); // Image that will be shown on data output
    imagedestroy($im); // frees image from memory so locations will update 
    Code (markup):
    It is currently displaying an old image I used to use. Yes, I HAVE tried clearing my cache.
     
    Lucas806, May 13, 2013 IP
  2. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #2
    Have you checked that the image is the image you want by directly accessing it?
     
    HuggyStudios, May 13, 2013 IP
  3. Lucas806

    Lucas806 Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    Yes.
     
    Lucas806, May 13, 2013 IP
  4. Lucas806

    Lucas806 Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #4
    Here is the full code. It might help more. The images are in a folder named "sensei" and the main php file which I am showing you is in the "update" folder and is called sensei.php so I need it to get to open the sensei folder and show the in.png and out.png image inside it.
    <?php
    $submit = $_POST['submit']; // Submission acceptance
    if ($submit) {
    $status = $_POST['status']; // Post data for the status of the mascot
    $server = $_POST['server']; // Post data for the server name that the mascot is on
    $room = $_POST['room']; // Post room name that the mascot is in
    $mascot = ('Sensei'); // Mascot name that will be tweeted no spaces
    $online = $_POST['online']; // Post online status
    $tracking = $_POST['tracking']; // Post tracking status
    $left = $_POST['left']; // Post just left status
    $move = $_POST['move']; // Post just moved status
    $random = rand(1, 10);  // Random number to avoid duplicate tweets
    $random1 = rand (11, 20); // Random number for tweeter number 2
    $site = ('http://clubpenguincheating.com/'); // Link to appear in tweets goes here
    $im = imagecreatefrompng('http://clubpenguincheating.com/update/sensei/in.png'); // Image to insert data onto (Blank tracker image)
    $colour = imagecolorallocate($im, 250, 250, 250);  // Color of the text on the tracker
    $font = './Bebas.ttf'; // Name of the font to be displayed, can be any font you choose.
    imagettftext($im, 25, 0, 100, 70, $colour, $font, $status); // Where to displace the text for the status
    imagettftext($im, 25, 0, 100, 100, $colour, $font, $server); // Where to displace the text for the server
    imagettftext($im, 25, 0, 90, 130, $colour, $font, $room); // Where to displace the text for the room
    imagepng($im,'http://clubpenguincheating.com/update/sensei/out.png'); // Image that will be shown on data output
    imagedestroy($im); // frees image from memory so locations will update
            }
    ?>
    <?
    $consumerKey = 
    $consumerSecret = 
    $oAuthToken = 
    $oAuthSecret = 
     
    require_once('twitteroauth.php');
    $tweet = new TwitterOAuth($consumerKey, $consumerSecret, $oAuthToken, $oAuthSecret);
     
    $onphrase = array("$mascot has been found on the server, $server! More info can be found at $site [$random]" ,"$mascot has been found on $server. $site has her current location! [$random]","$mascot has been found at the $room. Check $site for the server. [$random]");
    $trackphrases = array("$mascot is being tracked on $site. Help us find her location for faster tracking. [$random]","Currently tracking $mascot at $site. Join us to help find her quicker. [$random]");
    $leftphrase = array("$mascot has just left the server. Tracking resumes on $site! [$random]","$mascot has just left the server. Don't worry $site is still tracking her! [$random]");
    $movephrase = array("$mascot has just moved rooms. $site has her current location! [$random]","$mascot has moved locations on Club Penguin! Check out $site for her new locaiton! [$random]");
    $offlinephrase = array ("$mascot is offline. Tracking will resume on $site. [$random]","$mascot is currently offline. Tracking is resuming on $site so keep checking back! [$random]");
    $leftislandphrase = array ("$mascot has left the Club Penguin island now. Tracking has ended for the mascot on $site. [$random]","$mascot has left Club Penguin for now. Tracking has stopped on $site. [$random]");
     
    if (isset($online)) {
    $tweet->post('statuses/update', array('status' =>$onphrase[rand(0, count($onphrase)-1)]));
    }
    if (isset($tracking)) {
    $tweet->post('statuses/update', array('status' =>$trackphrases[rand(0, count($trackphrases)-1)]), $random);
    }
    if (isset($left)) {
    $tweet->post('statuses/update', array('status' =>$leftphrase[rand(0, count($leftphrase)-1)]));
    }
    if (isset($move)) {
    $tweet->post('statuses/update', array('status' =>$movephrase[rand(0, count($movephrase)-1)]));
    }
    if (isset($offline)) {
    $tweet->post('statuses/update', array('status' =>$offlinephrase[rand(0, count($offlinephrase)-1)]));
    }
    if (isset($leftisland)) {
    $tweet->post('statuses/update', array('status' =>$leftislandphrase[rand(0, count($leftislandphrase)-1)]));
    }
     
    ?>
    <?
    $consumerKey = 
    $consumerSecret = 
    $oAuthToken = 
    $oAuthSecret = 
     
    require_once('twitteroauth.php');
    $tweet = new TwitterOAuth($consumerKey, $consumerSecret, $oAuthToken, $oAuthSecret);
     
    $onphrase = array("$mascot has been found on the server, $server! More info can be found at $site [$random]" ,"$mascot has been found on $server. $site has her current location! [$random]","$mascot has been found at the $room. Check $site for the server. [$random]");
    $trackphrases = array("$mascot is being tracked on $site. Help us find her location for faster tracking. [$random]","Currently tracking $mascot at $site. Join us to help find her quicker. [$random]");
    $leftphrase = array("$mascot has just left the server. Tracking resumes on $site! [$random]","$mascot has just left the server. Don't worry $site is still tracking her! [$random]");
    $movephrase = array("$mascot has just moved rooms. $site has her current location! [$random]","$mascot has moved locations on Club Penguin! Check out $site for her new locaiton! [$random]");
    $offlinephrase = array ("$mascot is offline. Tracking will resume on $site. [$random]","$mascot is currently offline. Tracking is resuming on $site so keep checking back! [$random]");
    $leftislandphrase = array ("$mascot has left the Club Penguin now. Tracking has ended for the mascot on $site. [$random]","$mascot has left Club Penguin for now. Tracking has stopped on $site. [$random]");
     
    if (isset($online)) {
    $tweet->post('statuses/update', array('status' =>$onphrase[rand(0, count($onphrase)-1)]));
    }
    if (isset($tracking)) {
    $tweet->post('statuses/update', array('status' =>$trackphrases[rand(0, count($trackphrases)-1)]), $random);
    }
    if (isset($left)) {
    $tweet->post('statuses/update', array('status' =>$leftphrase[rand(0, count($leftphrase)-1)]));
    }
    if (isset($move)) {
    $tweet->post('statuses/update', array('status' =>$movephrase[rand(0, count($movephrase)-1)]));
    }
    if (isset($offline)) {
    $tweet->post('statuses/update', array('status' =>$offlinephrase[rand(0, count($offlinephrase)-1)]));
    }
    if (isset($leftisland)) {
    $tweet->post('statuses/update', array('status' =>$leftislandphrase[rand(0, count($leftislandphrase)-1)]));
    }
     
    ?>
    <?php
    header("Cache-Control: no-cache, must-revalidate"); //remind the browser not to cache the image
    header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
    error_reporting(E_ALL); //Change to 0 when live
    ini_set('display_errors',1);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <title>Tracker Update</title>
      <link href="styles.css" rel="stylesheet" type="text/css">
      </head>
      <font face="arial">
      <center>
     
    <table width="100%" border="0" cellspacing="0" cellpadding="5" class="main">
        <tr>
          <td colspan="3">&nbsp;</td>
        </tr>
        <tr>
          <td width="256" valign="top" background="photo.png" class="image"><div class="myaccount">
              <p align="left"><strong>Tracker Update</strong>         
     
      <p><a href="myaccount.php">Home</a><br>
        <a href="mysettings.php">Settings</a><br>
        <a href="logout.php">Logout</a></p> 
               
              <p align="left"><strong>Update the mascot locations here!</strong>         
          </div>
            <div align="left"></div>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p></td>
          <td width="1365" align="center" valign="middle"><p>&nbsp;</p>
            <h3 class="titlehdr"><strong>Tracker System!</strong></h3>
            <?php   
     
          if (isset($_GET['msg'])) {
     
          echo "<div class=\"error\">$_GET[msg]</div>";
     
          }
     
               
     
          ?>
          <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST" />
            <p>
            <center>
                <p><br />
                  <label for="username" class="username"><strong>Status:</strong></label>
                  <select name="status" id="status">
                  <option selected disabled="selected">Choose a Status</option>
                  <option>Online</option>
                  <option>Offline</option>
                  </select>
                </p>
                <p><br />
                  <label for="server" class="server"><strong>Server:</strong></label>
                    <select name="server" id="server">
            <option selected disabled="selected">Choose a Server</option>
            <option>Tracking...</option>
            <option disabled=>English</option>
            <option>Abominable</option>
            <option>Adventure</option>
            <option>Alaska</option>
            <option>Alpine</option>
            <option>Altitude</option>
            <option>Antarctic</option>
            <option>Arctic</option>
            <option>Ascent</option>
            <option>Aurora</option>
            <option>Avalanche</option>
            <option>Beanbag</option>
            <option>Beanie</option>
            <option>Belly Slide</option>
            <option>Below Zero</option>
            <option>Berg</option>
            <option>Big Foot</option>
            <option>Big Snow</option>
            <option>Big Surf</option>
            <option>Blizzard</option>
            <option>Bobsled</option>
            <option>Bonza</option>
            <option>Boots</option>
            <option>Breeze</option>
            <option>Brumby</option>
            <option>Bubblegum</option>
            <option>Bunny Hill</option>
            <option>Cabin</option>
            <option>Canoe</option>
            <option>Caribou</option>
            <option>Chinook</option>
            <option>Christmas</option>
            <option>Cloudy</option>
            <option>Cold Front</option>
            <option>Cold Snap</option>
            <option>Cozy</option>
            <option>Cream Soda</option>
            <option>Crunch</option>
            <option>Crystal</option>
            <option>Deep Freeze</option>
            <option>Deep Snow</option>
            <option>Down Under</option>
            <option>Downhill</option>
            <option>Dry Ice</option>
            <option>Elevation</option>
            <option>Fiesta</option>
            <option>Fjord</option>
            <option>Flippers</option>
            <option>Flurry</option>
            <option>Fog</option>
            <option>Freezer</option>
            <option>Frostbite</option>
            <option>Frosty</option>
            <option>Frozen</option>
            <option>Glacial</option>
            <option>Glacier</option>
            <option>Grasshopper</option>
            <option>Great White</option>
            <option>Grizzly</option>
            <option>Half Pipe</option>
            <option>Hibernate</option>
            <option>Hockey</option>
            <option>Hot Chocolate</option>
            <option>Husky</option>
            <option>Hypothermia</option>
            <option>Ice Age</option>
            <option>Ice Berg</option>
            <option>Ice Box</option>
            <option>Ice Breaker</option>
            <option>Ice Cave</option>
            <option>Ice Cold</option>
            <option>Ice Cream</option>
            <option>Ice Cube</option>
            <option>Ice Pack</option>
            <option>Ice Palace</option>
            <option>Ice Pond</option>
            <option>Ice Rink</option>
            <option>Ice Shelf</option>
            <option>Icebound</option>
            <option>Iceland</option>
            <option>Icicle</option>
            <option>Jack Frost</option>
            <option>Jackhammer</option>
            <option>Klondike</option>
            <option>Kosciuszko</option>
            <option>Mammoth</option>
            <option>Marshmallow</option>
            <option>Matterhorn</option>
            <option>Migrator</option>
            <option>Misty</option>
            <option>Mittens</option>
            <option>Mountain</option>
            <option>Mukluk</option>
            <option>Mullet</option>
            <option>North Pole</option>
            <option>Northern Lights</option>
            <option>Outback</option>
            <option>Oyster</option>
            <option>Parka</option>
            <option>Patagonia</option>
            <option>Permafrost</option>
            <option>Pine Needles</option>
            <option>Polar</option>
            <option>Polar Bear</option>
            <option>Powder Ball</option>
            <option>Puddle</option>
            <option>Rainbow</option>
            <option>Rocky Road</option>
            <option>Sabertooth</option>
            <option>Sardine</option>
            <option>Sasquatch</option>
            <option>Sherbet</option>
            <option>Shiver</option>
            <option>Skates</option>
            <option>Sled</option>
            <option>Sleet</option>
            <option>Slippers</option>
            <option>Slushy</option>
            <option>Snow Angel</option>
            <option>Snow Ball</option>
            <option>Snow Bank</option>
            <option>Snow Board</option>
            <option>Snow Cone</option>
            <option>Snow Covered</option>
            <option>Snow Day</option>
            <option>Snow Drift</option>
            <option>Snow Flake</option>
            <option>Snow Fort</option>
            <option>Snow Globe</option>
            <option>Snow Plow</option>
            <option>Snow Shoe</option>
            <option>Snowbound</option>
            <option>Snowcap</option>
            <option>Snowfall</option>
            <option>Snowmobile</option>
            <option>Snowy River</option>
            <option>South Pole</option>
            <option>Southern Lights</option>
            <option>Sparkle</option>
            <option>Sub Zero</option>
            <option>Summit</option>
            <option>Tea</option>
            <option>Thermal</option>
            <option>Toboggan</option>
            <option>Tundra</option>
            <option>Tuxedo</option>
            <option>Vanilla</option>
            <option>Walrus</option>
            <option>White House</option>
            <option>White Out</option>
            <option>Wind Chill</option>
            <option>Winter Land</option>
            <option>Wool Socks</option>
            <option>Yeti</option>
            <option>Yukon</option>
            <option>Zipline</option>
            <option disabled=>Portuguese</option>
            <option>Altitude [PT]</option>
            <option>Antartida [PT]</option>
            <option>Aurora Boreal [PT]</option>
            <option>Avalanche [PT]</option>
            <option>Aventura [PT]</option>
            <option>Bacana [PT]</option>
            <option>Bloco de Gelo</option>
            <option>Bola de Neve [PT]</option>
            <option>Boreal [PT]</option>
            <option>Botas de Esquimo [PT]</option>
            <option>Britadeira [PT]</option>
            <option>Canoa [PT]</option>
            <option>Caverna de Gelo [PT]</option>
            <option>Chiclete [PT]</option>
            <option>Chocolate Quente [PT]</option>
            <option>Cha [PT]</option>
            <option>Cordilheira [PT]</option>
            <option>Cream Soda [PT]</option>
            <option>Cristal de Gelo [PT]</option>
            <option>Cubo de Gelo [PT]</option>
            <option>Descida [PT]</option>
            <option>Deu Branco [PT]</option>
            <option>Estalactite [PT]</option>
            <option>Fiesta [PT]</option>
            <option>Floco de neve [PT]</option>
            <option>Flor da Neve [PT]</option>
            <option>Frape [PT]</option>
            <option>Freezer [PT]</option>
            <option>Friaca [PT]</option>
            <option>Gafanhoto [PT]</option>
            <option>Geladeira [PT]</option>
            <option>Geleira [PT]</option>
            <option>Gelinho [PT]</option>
            <option>Gelo Seco [PT]</option>
            <option>Glacial [PT]</option>
            <option>Granizo [PT]</option>
            <option>Inverno [PT]</option>
            <option>Mamute [PT]</option>
            <option>Meias de La [PT]</option>
            <option>Migrator [PT]</option>
            <option>Montanha Nevada [PT]</option>
            <option>Mullet [PT]</option>
            <option>Neblina [PT]</option>
            <option>Nevado [PT]</option>
            <option>Nublado [PT]</option>
            <option>Patagonia [PT]</option>
            <option>Patins [PT]</option>
            <option>Picole [PT]</option>
            <option>Pizza Fria [PT]</option>
            <option>Polar [PT]</option>
            <option>Pororoca Polar [PT]</option>
            <option>Poca [PT]</option>
            <option>Polo Sul [PT]</option>
            <option>Rinque de Gelo [PT]</option>
            <option>Saca de Cafe [PT]</option>
            <option>Sardinha [PT]</option>
            <option>Siberia [PT]</option>
            <option>Sorvete [PT]</option> 
            <option>Sundae [PT]</option>
            <option>Teleferico [PT]</option>
            <option>Torta de Atum [PT]</option>
            <option>Tudo Branco [PT]</option>
            <option>Tundra [PT]</option>
            <option>Vale Branco [PT]</option>
            <option>Ventania [PT]</option>
            <option>Ventilador [PT]</option> 
            <option>Zero Grau [PT]</option>
            <option disabled=>French</option>
            <option>Altitude [FR]</option>
            <option>Antarctique [FR]</option>
            <option>Ascension [FR]</option>
            <option>Aurore Boreale [FR]</option>
            <option>Aventure [FR]</option>
            <option>Bottes [FR]</option>
            <option>Bouillotte [FR]</option>
            <option>Boule de Neige [FR]</option>
            <option>Brise [FR]</option>
            <option>Brumeux [FR]</option>
            <option>Canoe [FR]</option>
            <option>Cascade [FR]</option>
            <option>Caverne [FR]</option>
            <option>Chaise Longue [FR]</option>
            <option>Chewing-Gum [FR]</option>
            <option>Chocolat Chaud [FR]</option>
            <option>Creme Glacee [FR]</option>
            <option>Descente [FR]</option>
            <option>Enneige [FR]</option>
            <option>Fiesta [FR]</option>
            <option>Flaque d'Eau</option>
            <option>Flocon [FR]</option>
            <option>Glace Seche [FR]</option>
            <option>Glaciaire [FR]</option>
            <option>Glaciere [FR]</option>
            <option>Glacons [FR]</option>
            <option>Jour de Neige [FR]</option>
            <option>Marmotte [FR]</option>
            <option>Marteau-Piquer [FR]</option>
            <option>Migrateur [FR]</option>
            <option>Mosqueton [FR]</option>
            <option>Patagonie [FR]</option>
            <option>Patinoire [FR]</option>
            <option>Patins a Glace [FR]</option>
            <option>Polaire [FR]</option>
            <option>Pompon [FR]</option>
            <option>Rouget [FR]</option>
            <option>Sardine [FR]</option>
            <option>Scarabee [FR]</option>
            <option>Soda Mousse [FR]</option>
            <option>Super [FR]</option>
            <option>Tartine [FR]</option>
            <option>The [FR]</option>
            <option>Yeti [FR]</option>
            <option disabled></option>
            <option disabled=>Spanish</option>
            <option disabled></option>
            <option>Abordaje pinguino [ES]</option>
            <option>Abracadabra [ES]</option>
            <option>Aguanieve [ES]</option>
            <option>Al Agua Pato [ES]</option>
            <option>Alas y aletas [ES]</option>
            <option>Aletas con ritmo [ES]</option>
            <option>Aletas de fuego [ES]</option>
            <option>Aletas heladas [ES]</option>
            <option>Aletazo Ninja [ES]</option>
            <option>Altitud [ES]</option>
            <option>Amuleto Ninja [ES]</option>
            <option>Andino [ES]</option>
            <option>Antartida [ES]</option>
            <option>Arcoiris boreal [ES]</option>
            <option>Arcon de disfraces [ES]</option>
            <option>Aurora boreal [ES]</option>
            <option>Avalancha [ES]</option>
            <option>Aventuras [ES]</option>
            <option>Bahia rock [ES]</option>
            <option>Bajo cero [ES]</option>
            <option>Ballena azul [ES]</option>
            <option>Batido de crema [ES]</option>
            <option>Bloque de hielo [ES]</option>
            <option>Bola de nieve [ES]</option>
            <option>Bonzo [ES]</option>
            <option>Bosque de Chocolate [ES]</option>
            <option>Bosque encantado [ES]</option>
            <option>Botas [ES]</option>
            <option>Cafe en grano [ES]</option>
            <option>Calcetines de lana [ES]</option>
            <option>Campamento pinguino [ES]</option>
            <option>Cancion de nieve [ES]</option>
            <option>Canoa [ES]</option>
            <option>Castillo de cristal [ES]</option>
            <option>Caverna helada [ES]</option>
            <option>Chapoteo [ES]</option>
            <option>Chicle globo [ES]</option>
            <option>Chocolate caliente [ES]</option>
            <option>Choque de aletas [ES]</option>
            <option>Copito de nieve [ES]</option>
            <option>Cubo de hielo [ES]</option>
            <option>Cuesta abajo [ES]</option>
            <option>Codigo agente [ES]</option>
            <option>Deshielo [ES]</option>
            <option>Divertinguin [ES]</option>
            <option>DJ Aletas [ES]</option>
            <option>Dulce o truco [ES]</option>
            <option>Elemento ninja [ES]</option>
            <option>Elevacion [ES]</option>
            <option>En sus marcas, pingui ya! [ES]</option>
            <option>Escultura de hielo [ES]</option>
            <option>Estalactita [ES]</option>
            <option>Estrella Polar [ES]</option>
            <option>Exploradores de hielo [ES]</option>
            <option>Fiesta [ES]</option>
            <option>Fresca melodia [ES]</option>
            <option>Glaciar [ES]</option>
            <option>Geiser [ES]</option>
            <option>Hechizo de hada [ES]</option>
            <option>Helado de crema [ES]</option>
            <option>Hielo seco [ES]</option>
            <option>Huracan ninja [ES]</option>
            <option>Iglulandia [ES]</option>
            <option>Invasion puffle [ES]</option>
            <option>Isla pirata [ES]</option>
            <option>Isla secreta [ES]</option>
            <option>Lluvia de estrellas [ES]</option>
            <option>Luces, puffles y accion! [ES]</option>
            <option>Mejor amigo [ES]</option>
            <option>Migrator [ES]</option>
            <option>Movimiento ninja [ES]</option>
            <option>Mullet [ES]</option>
            <option>Mundo glacial [ES]</option>
            <option>Nebulosa [ES]</option>
            <option>Nevado [ES]</option>
            <option>Nevisca [ES]</option>
            <option>Neviscas [ES]</option>
            <option>Nieve rosada [ES]</option>
            <option>Ola surfera [ES]</option>
            <option>Oso polar [ES]</option>
            <option>Patagonia [ES]</option>
            <option>Patines [ES]</option>
            <option>Pinguinera [ES]</option>
            <option>Pinguinopolis [ES]</option>
            <option>Pista de patinaje [ES]</option>
            <option>Pizzarock [ES]</option>
            <option>Polar [ES]</option>
            <option>Polo sur [ES]</option>
            <option>Puffito de agua [ES]</option>
            <option>Pufflelandia [ES]</option>
            <option>Refugio en el Arbol [ES]</option>
            <option>Saltamontes [ES]</option>
            <option>Sardinas enlatadas [ES]</option>
            <option>Taladrando [ES]</option>
            <option>Trineo de nieve [ES]</option>
            <option>Te helado [ES]</option>
            <option>Yeti [ES]</option>
            <option disabled=>German</option>
            <option>Antarktika [DE]</option>
            <option>Eisberg [DE]</option>
            <option>Eiszapfen [DE]</option>
            <option>Eiszeit [DE]</option>
            <option>Gletscher [DE]</option>       
            <option>Handschuhe [DE]</option>
            <option>Heisser Kakao [DE]</option>       
            <option>Iglu [DE]</option>
            <option>Kirschlimo [DE]</option>
            <option>Lawine [DE]</option>
            <option>Matterhorn [DE]</option>
            <option>Schneeflocke [DE]</option>
            </select>
                </p>
                <p><br />
                  <label for="room" class="room"><strong>Room:</strong></label>
            <select name="room" id="room">
            <option selected disabled="selected">Choose a Room</option>
            <option>Tracking...</option>
            <option>Beach</option>
            <option>Beacon</option>
            <option>Boiler Room</option>
            <option>Book Room</option>
            <option>Coffee Shop</option>
            <option>Cove</option>
            <option>Dock</option>
            <option>Dojo</option>
            <option>Dojo Courtyard</option>
            <option>Everyday Phoning Facility</option>
            <option>Forest</option>
            <option>Gift Shop</option>
            <option>Ice Rink</option>
            <option>Iceberg</option>
            <option>Lighthouse</option>
            <option>Lodge Attic</option>
            <option>Mine Shack</option>
            <option>Mine</option>
            <option>Night Club</option>
            <option>Pet Shop</option>
            <option>Pizza Parlor</option>
            <option>Plaza</option>
            <option>Puffle Hotel Lobby</option>
            <option>Puffle Hotel Spa</option>
            <option>Puffle Hotel Roof</option>
            <option>Recycling Plant</option>
            <option>Ski Hill</option>
            <option>Ski Lodge</option>
            <option>Ski Village</option>
            <option>Snow Forts</option>
            <option>Stadium</option>
            <option>Stage</option>
            <option>Town</option>
          </select>
                  <br />
                </p>
            </center>
            </p>
            <center>
              <div class="radio">
                <p>Found
      <input type="radio" name="online" />
      <br />
                  Tracking
                  <input type="radio" name="tracking" />
                  <br />
                  Just Left
                  <input type="radio" name="left" />
                  <br />
                  Moved Rooms
                  <input type="radio" name="move" />
                  <br />
                </p>
              </div></center>
            <p>
              <center><input type="submit" class="submit" id="submit" name="submit"/></center>
            </p>
            <br />
            <center><iframe src="image.html" frameborder="0" scrolling="no" width="520" height="280"></iframe></center><center></center></td>
        </tr>
        <tr>
          <td height="28" colspan="3">&nbsp;</td>
        </tr>
      </table>
      </center>
    </body>
    </html>
    PHP:
     
    Lucas806, May 13, 2013 IP
  5. goldensea80

    goldensea80 Well-Known Member

    Messages:
    422
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Hmm, I don't think you can output an image to a website url like this.
    imagepng($im,'http://clubpenguincheating.com/update/sensei/out.png');
    Code (markup):
    You can you your absolute path, for example
    imagepng($im,'/our_webstite_root/update/sensei/out.png');
    Code (markup):
    Hope it helps
     
    goldensea80, Jun 5, 2013 IP
  6. Marcel Preda

    Marcel Preda Member

    Messages:
    21
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    43
    #6
    Hi,
    the imagepng($img, $filepath) will try to save your img as PNG to $file.
    It is clear that you can not save the image to an URL path.
    You will need to save it locally, like goldensea80 suggested .

    BR,
    Marcel
     
    Marcel Preda, Jun 6, 2013 IP