Ver Mensaje Individual
  #7 (permalink)  
Antiguo 05/06/2006, 05:46
joja_2
 
Fecha de Ingreso: noviembre-2002
Mensajes: 1.135
Antigüedad: 21 años, 5 meses
Puntos: 2
Mi script de conexion en un directorio externo a la web:

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_xxx = "localhost";
$database_xxx = "xxx";
$username_xxx = "root";
$password_xxx = "";
$link = mysql_pconnect($hostname_xxx, $username_xxx, $password_xxx) or die(mysql_error());
//$link = mysqli_connect($hostname_xxx, $username_xxx, $password_xxx) or die(mysql_error());
?>