Location: PHPKode > scripts > My Banners > my-banners/config.php
<?php
/***********************************************************************/
/* Statistika praæenja broja prikazivanja bannera na tuðim stranicama  */
/*                                                                     */
/* Copyright (c) 2002 by Hrvoje Novosel (hide@address.com)     */
/* http://www.crovortex.com                                            */
/***********************************************************************/
/*******************************************************************/
/* Config                                                          */
/*                                                                 */
/* dbhost:   MySQL Database Hostname                               */
/* dblogin:  MySQL Username                                        */
/* dbpass:   MySQL Password                                        */
/* dbime:    MySQL Database Name                                   */
/* mojlogin: Upisati login(username)  (npr: "Interghost")          */
/* mojpass:  Upisati zaporku(password)  (npr: "šifra001")          */
/* imgURL:   URL bannera                                           */
/*           (npr: "http://www.crovortex.com/baner/crovortex.gif") */
/* lokacija: Direktorij gdje se nalaze datoteke                    */
/*           (npr: "http://www.crovortex.com/skripta")             */
/*******************************************************************/
$dbhost = "";
$dblogin = "";
$dbpass = "";
$dbime = "";
$mojlogin = "";
$mojpass = "";
$imgURL = "";
$lokacija = "";
/*************************/
/* Dalje ništa ne dirati */
/*************************/
$tabela = "banner_moj";
mysql_connect($dbhost, $dblogin, $dbpass);
@mysql_select_db("$dbime") or die ("Neuspjela selekcija");
Return current item: My Banners