Ver Mensaje Individual
  #5 (permalink)  
Antiguo 20/12/2012, 14:17
Avatar de manyblue
manyblue
 
Fecha de Ingreso: marzo-2008
Mensajes: 329
Antigüedad: 16 años, 1 mes
Puntos: 10
Respuesta: Problema con Arsys y mi php

PROBLEMA SOLUCIONADO:

conex_db_unedlapalma.php

Código PHP:
<?php if (!isset($_SESSION)) {
  
session_start();
}
?>
<?php          
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_conex_db_unedlapalma "ip de arsys";
$database_conex_db_unedlapalma "nombre db arsys";
$username_conex_db_unedlapalma "usuario db arsys";
$password_conex_db_unedlapalma "pass dd arsys";
$conex_db_unedlapalma mysql_pconnect($hostname_conex_db_unedlapalma$username_conex_db_unedlapalma$password_conex_db_unedlapalma) or trigger_error(mysql_error(),E_USER_ERROR); 
?>
<?php 
if (is_file("includes/funciones.php")) {
 
   include(
"includes/funciones.php"); 
}
else {
 
   include(
"../includes/funciones.php");  
}
?>
y lo deje así:

Código PHP:
<?php if (!isset($_SESSION)) {
  
ob_start();
}
?>
<?php          
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_conex_db_unedlapalma "ip de arsys";
$database_conex_db_unedlapalma "nombre db arsys";
$username_conex_db_unedlapalma "usuario db arsys";
$password_conex_db_unedlapalma "pass dd arsys";
$conex_db_unedlapalma mysql_pconnect($hostname_conex_db_unedlapalma$username_conex_db_unedlapalma$password_conex_db_unedlapalma) or trigger_error(mysql_error(),E_USER_ERROR); 
?>
<?php 
if (is_file("includes/funciones.php")) {
 
   include(
"includes/funciones.php"); 
}
else {
 
   include(
"../includes/funciones.php");  
}
?>
Se acabaron los problemas de sesión.

Muchisimas gracias por vuestra atención y respuestas. ES DE AGRADECER MUCHISIMO.

Un saludo: manyblue