• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior ACC] Polls System v.2.2 + graphic bars

Nice release ;> Thanks. Don't looked at code yet, but for sure I will test it someday ^^
 
The previous version has worked properly.

But for me on UBUNTU, DEBIAN, VISTA this script is working good.
Have you any errors in site?

you must upload it again, according to what is now the first post

#edit
Cykotitan, you must use adding poll function if you don't know, how works script!
 
Last edited:
But for me on UBUNTU, DEBIAN, VISTA this script is working good.
Have you any errors in site?

you must upload it again, according to what is now the first post

#edit
Cykotitan, you must use adding poll function if you don't know, how works script!

Okay I'm gonna try to install it all from the beginning ;>

Can't edit post #_#

Could you tell me where can I download the GD Library for Apache?
I'm using 32-bit XP...
 
Last edited by a moderator:
hahaha i'm waiting for this release, and you post here, very great work, thanks! nice work ! :)
 
Can't edit post #_#

Could you tell me where can I download the GD Library for Apache?
I'm using 32-bit XP...

Have you xampp?
Have you bar.php file from first post?
I think that you don't have file bar.php.
 
Have you xampp?
Have you bar.php file from first post?
I think that you don't have file bar.php.
http://otland.net/newreply.php?do=newreply&p=301338
I'm pretty sure I have it, but I don't have GD Library

barb.png
 
after
Code:
<?php
in bar.php cannot be spaces, enters and tabs, and behind
Code:
?>
<?php must be first line
?> must be last line

XAMPP have GD Library because you have good working script to verification image.
 
Thanks a lot, it's working for me now..
I've also un-tabbed it and deleted empty lines (just to be sure):
bar.php
PHP:
<?php
$x = addslashes(htmlspecialchars(trim($_REQUEST['long'])));
if($x < 1 or !is_numeric($x) or empty($x))
{
$x=1;
$image=ImageCreate($x,10);
if($x < 15)
$color=ImageColorAllocate($image,255,0,0);
elseif($x < 35)
$color=ImageColorAllocate($image,255,106,0);
elseif($x <= 50)
$color=ImageColorAllocate($image,255,216,0);
elseif($x > 50)
$color=ImageColorAllocate($image,0,255,33);
ImageFill($image,1,1,$color);
header("Content-type: image/gif"); 
imagegif($image);
}
elseif($x > 100)
{
$x=100;
$image=ImageCreate($x,10);
if($x < 15)
$color=ImageColorAllocate($image,255,0,0);
elseif($x < 35)
$color=ImageColorAllocate($image,255,106,0);
elseif($x <= 50)
$color=ImageColorAllocate($image,255,216,0);
elseif($x > 50)
$color=ImageColorAllocate($image,0,255,33);
ImageFill($image,1,1,$color);
header("Content-type: image/gif"); 
imagegif($image); 
}
else
{
$image=ImageCreate($x,10);
if($x < 15)
$color=ImageColorAllocate($image,255,0,0);
elseif($x < 35)
$color=ImageColorAllocate($image,255,106,0);
elseif($x <= 50)
$color=ImageColorAllocate($image,255,216,0);
elseif($x > 50)
$color=ImageColorAllocate($image,0,255,33);
ImageFill($image,1,1,$color);
header("Content-type: image/gif"); 
imagegif($image); 
}
?>
 
Currently I am working on a test tutor.
 
Last edited:
Tomorrow I will release tutor test(the same as in RL tibii).
 
Have you bar.php and installed GD Libarary?
If you use linux you must do aptitude install php5-gd
 
Back
Top