Changeset 15 for trunk/admin
- Timestamp:
- Feb 17, 2010, 7:03:22 PM (15 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/admin.php
r2 r15 124 124 $dbi=mysql_connect($dbhost, $dbuname, $dbpass) or die("Connessione non riuscita: " . mysql_error()); 125 125 mysql_select_db($dbname)or die("Connessione non riuscita:" . mysql_error()); 126 mysql_set_charset('utf8', $dbi); 126 127 //---10/05/2009 gestione consultazione predefinita 127 128 $res_config = mysql_query("select * from ".$prefix."_config ",$dbi); … … 200 201 } 201 202 }else{ 202 #$dbi=mysql_connect($dbhost, $dbuname, $dbpass) or die("Connessione non riuscita: " . mysql_error());203 204 #mysql_select_db($dbname)or die("Connessione non riuscita:" . mysql_error());205 203 $_SESSION['dbi']=$dbi; 206 204 -
trunk/admin/index.php
r2 r15 10 10 $dbi=mysql_connect($dbhost, $dbuname, $dbpass) or die("Connessione non riuscita: " . mysql_error()); 11 11 mysql_select_db($dbname)or die("Connessione non riuscita:" . mysql_error()); 12 mysql_set_charset('utf8', $dbi); 12 13 //---10/05/2009 gestione consultazione predefinita 13 14 //if (!isset($_SESSION['id_comune'])){
Note:
See TracChangeset
for help on using the changeset viewer.