
05/06/2006, 05:46
|
| | Fecha de Ingreso: noviembre-2002
Mensajes: 1.135
Antigüedad: 22 años, 4 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());
?> |