source: trunk/client/config.php@ 17

Last change on this file since 17 was 17, checked in by roby, 15 years ago

Sostituite le funzioni del gruppo ereg perché divenute "deprecate" con il php 5.3

File size: 771 bytes
RevLine 
[2]1<?php
[9]2
[2]3/************************************************************************/
4/* Eleonline - Raccolta e diffusione dei dati elettorali */
5/* by Roberto Gigli & Luciano Apolito */
6/* http://www.eleonline.it */
7/* info@eleonline.it luciano@aniene.net rgigli@libero.it */
8/************************************************************************/
9
[9]10
[17]11if (stristr("config.php",$_SERVER['PHP_SELF'])) {
[2]12 Header("Location: index.php");
13 die();
14}
15
16
[9]17/* Variabili di configurazione accesso db */
18$dbhost = "localhost";
19$dbuname = "eleonline";
20$dbpass = "eleonline";
21$dbname = "eleonline";
22$prefix = "soraldo";
23$dbtype = "MySQL";
[2]24
[9]25ini_set('display_errors',0);
[2]26?>
Note: See TracBrowser for help on using the repository browser.