PLEASE READ!!!
| From: | John | Date: | Mon, 28 Aug 2000 23:03:30 +0000 |
| Subject: | PLEASE READ!!! | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1845@lists.php.net to get a copy of this message | ||
Hello there ive got a quick question!! Im assuming that function Conectar means connect But what
kinda of code if this.
We just had our site made and the guys didnt fill us in well..... Please respond back with
something.. Thank you
BTW PHP rocks with MySQL....
John
function Conectar() {
global $NOMBRE_HOST, $BASE_DIR;
$USUARIO_BASE='nobody';
$PASSWORD_BASE='password';
$HOST='0.0.0.0';
//$HOST='127.0.0.1';
$con=mysql_connect($HOST,$USUARIO_BASE,$PASSWORD_BASE);
if(!$con){
?><script>
location.replace("http://<?echo
$NOMBRE_HOST?>/error.php");
</script>
<?
exit;
}
return $con;
};