Glavna stranica | Popis datoteka | Članovi klasa u datoteci

connect.php

Dokumenacija za ovu datoteku.
00001 <?
00002 /**************************************************************************************
00003  Studentski Informacijski servis, 2004
00004  **************************************************************************************
00005  connect.php
00006  postavke za konekciju na sistem
00007 
00008 
00009  Srdjan Segvic - srle
00010  **************************************************************************************
00011  **************************************************************************************
00012  This program is free software; you can redistribute it and/or modify
00013  it under the terms of the GNU General Public License as published by
00014  the Free Software Foundation; either version 2 of the License, or
00015  (at your option) any later version.
00016 
00017  This program is distributed in the hope that it will be useful,
00018  but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  GNU Library General Public License for more details.
00021 
00022  You should have received a copy of the GNU General Public License
00023  along with this program; if not, write to the Free Software
00024  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
00025  **************************************************************************************/
00026 
00027 include('config.sis.php');
00028 
00029 //Konektovanje na DB
00030  $conn = mysql_connect($dbhost, $dbuser, $dbpass) or
00031           die("Greska prilikom spajanja na Bazu");
00032   
00033   mysql_select_db($dbname, $conn) or
00034           die("Odabrana baza ne postoji");
00035 
00036 ?>

Generirano Thu Sep 16 17:16:00 2004 projekt: SiS.Student generator: doxygen 1.3.2