[gd library] Bezoekers teller, grafisch
dit script is Object georiƫnteerd geprogrammeerd.
Maakt gebruik van de php image functies en je database.
/*
CREATE TABLE `count` (
`id` int(11) NOT NULL auto_increment,
`time` int(11) NOT NULL default '0',
`ip` mediumtext NOT NULL,
UNIQUE KEY `id` (`id`)
)
*/
Aanmaak.
relatief simpel:
/*
$Teller = new QCounter()
$Teller->__construct(
string Host,
string Db_user,
string Db_password,
string Db_database,
HtmlColor achtergrond,
HtmlColor tekstkleur,
HtmlColor grafiek,
HtmlColor indexering-text,
HtmlColor indexering-streep,
int x,
int y
);
*/
type string = "hoiblaatblub";
die je wel kent. met HtmlColor bedoel ik
"#EFEFEF" of iets dergelijks.
dus een voorbeeld:
/*
$count = new QCounter();
$count->__construct("localhost", "fg", "fg", "Josko", "#E6E6E6", "#000000", "#FF0000", "#000000", "#333333", 400, 500);
*/
preview is voorlopig te zien op:
http://www.zchosting.nl/Storage/GraphicCount.php?tryout=true
deze test zit ook in het script zelf.
Voorbeeld: http://www.zchosting.nl/Storage/tellerscript/test22.php
Gesponsorde koppelingen
PHP script bestanden
Er zijn 10 reacties op 'Image manipulation'
Om te reageren heb je een account nodig en je moet ingelogd zijn.
PHP hulp
0 seconden vanaf nu