I get that when using your code (--ss--).The image “http://xxx.com/box/” cannot be displayed, because it contains errors.

I get that when using your code (--ss--).The image “http://xxx.com/box/” cannot be displayed, because it contains errors.
you need to use php-gd commands to generate the image.
more simple to just leave it as you had originally.
Coming and going...
Highers are getting the better of me
Nevermind, I figured it out.
or look @ this
http://www.habboxforum.com/showthrea...02#post4881002
Editing the other stuff out, you should get yourself an image rotation.![]()
Hi, names James. I am a web developer.
You could use something like that if you don't want to waste server resources generating an image using php gd everytime someone loads the image.PHP Code:<?php
$images = array( "lol", "wut", "dongs" );
$random = rand( 0, ( sizeof( $images ) - 1 ) );
$file = $images[ $random ] . '.gif';
$size = filesize( $file );
header( "Content-Type: image/gif" );
$f = fopen( $file, "r" );
while( $buf = fread( $f, $size ) )
{
print $buf;
}
fclose( $f );
?>
(You could easily just use file_get_contents but there was a reason I used fopen, lol).
Want to hide these adverts? Register an account for free!