Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by UshmaMulji View Post
    It's to do with msn but technically it's XML/php stuff which is to do with websites, where as I would have posted it in the computer talk if it was Exe:rolleyes:

    Anyway, I had to post this or Tom would have got me an infraction.
    Hmm, true true. But, people who do this stuff maybe in computer forum, but I see where you're coming from.

    Hope you find how to do it!

  2. #12
    Join Date
    May 2005
    Location
    Cornwall
    Posts
    3,590
    Tokens
    2,900
    Habbo
    Feyod

    Latest Awards:

    Default

    Quote Originally Posted by Zengo View Post
    It's to do with msn, which it doesn't have anything to do with web sites, it'd make more sence in computer talk but whatever, it isn't the end of the world. :rolleyes:

    It's to do with PHP, etc.. so this is the correct forum.
    Quote Originally Posted by Joshuar- View Post
    i do hope you don't mean me :p i dont customise MSN much but are you like making it link to a website then?
    Nah, Nets - Josh.

    i get what you mean Tom, like i said though, read the threads Tom posted; or; wait till josh or Mentor to post, they'll lead you on the road.
    Occasionally visit and have a nose.

  3. #13
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Yes you would have to use GD. www.php.net/gd look at some of the comments if you don't understand it as they have some samples.

  4. #14
    Join Date
    Nov 2005
    Posts
    7,708
    Tokens
    3,967
    Habbo
    Kasabian

    Latest Awards:

    Default

    Yeah, I'm new to php & html etc.. so it doesn't help.

    If anyone could do it, I would love you forever.

  5. #15
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
    <?php

      header
    ("Content-type: image/png");

      
    $unparsed file_get_contents('details.xml');
      
    $xml = new SimpleXMLElement($unparsed);

      
    $im imagecreatefrompng('bg.png');

      
    $dpl imagecreatefrompng('dp.png');
      list(
    $DPLwidth$DPLheight) = getimagesize('dp.png');

      
    $dp imagecreatetruecolor(5454);
      
    imagecopyresized($dp$dpl00005454$DPLwidth$DPLheight);
      
    imagecopymerge($im$dp1638005454100);
      
    $black imagecolorallocate($im000);

      
    imagestring($im38043$xml->Username$black);
      
    $dispWidth = (strlen($xml->Username)*7)+85;
      
    imagestring($im2$dispWidth43'('.$xml->Status.')'$black);
      
    imagestring($im38043$dispName$black);

      
    imagepng($im);

    ?>
    Haven't tested.
    kinda quit.

  6. #16
    Join Date
    Nov 2005
    Posts
    7,708
    Tokens
    3,967
    Habbo
    Kasabian

    Latest Awards:

    Default

    The image "http://www.habats.com/tommo/test.php" cannot be displayed because it contains errors.
    .

  7. #17
    Join Date
    Nov 2005
    Posts
    7,708
    Tokens
    3,967
    Habbo
    Kasabian

    Latest Awards:

    Default

    Sorry for double post.

    When I view the page source it displays this.

    <br />
    <b>Fatal error</b>: Cannot instantiate non-existent class: simplexmlelement in <b>/home/habats/public_html/tommo/test2.php</b> on line <b>6</b><br />

  8. #18
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by UshmaMulji View Post
    Sorry for double post.

    When I view the page source it displays this.

    <br />
    <b>Fatal error</b>: Cannot instantiate non-existent class: simplexmlelement in <b>/home/habats/public_html/tommo/test2.php</b> on line <b>6</b><br />
    You need PHP5 not PHP4.

  9. #19
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Make sure your host supports GD =D Use phpinfo()

  10. #20
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Luckyrare View Post
    Make sure your host supports GD =D Use phpinfo()
    The error is not related to GD :s

    <br />
    <b>Fatal error</b>: Cannot instantiate non-existent class: simplexmlelement in <b>/home/habats/public_html/tommo/test2.php</b> on line <b>6</b><br />

    That function is only supported in PHP5 and its a XML function.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •