#Conexion a la base de datos
//$server="localhost"; $user="root"; $pwd="Bdwmpc5"; $db="municanete1";
//$conexion = mysql_connect ($server,$user,$pwd);
//$db = mysql_select_db ($db, $conexion);
$server="localhost"; $user="root"; $pwd="Bdwmpc5"; $db="municanete1";
$conexion = mysql_connect ($server,$user,$pwd);
$db = mysql_select_db ($db, $conexion);
//mysql_query("SET NAMES 'utf-8'");
include("functions.php");
#Fin de conexion
$moneda = "S/.";
$actrpu="0";
if ($actrpu=="1"){
$rutaimg = "http://municanete.gob.pe/";
$rutaurl = "http://municanete.gob.pe/";
$nomdom = "municanete.gob.pe";
$correo = "info@municanete.gob.pe";
}else{
$rutaimg = "http://localhost/";
$rutaurl = "http://localhost/";
$nomdom = "localhost";
$correo = "info@localhost";
}
$nomtit = "Municipalidad Provincial de Cañete";
$paises = "Perú";
$actrpu = "1";
$acindex = "index3.php";
#Fin de conexion
error_reporting(E_ALL ^ E_NOTICE);
?>
Warning: Undefined array key "p" in E:\WebCanete\d.php on line 1043 Fatal error: Uncaught Error: Call to undefined function mysql_query() in E:\WebCanete\d.php:1044 Stack trace: #0 {main} thrown in E:\WebCanete\d.php on line 1044 |