On Sat, 13 Sep 2003, Kalin Mintchev wrote:

> are you on RH8?

This code works on RHL 7.3, 8, 9 and the existing RHL beta, as 
well as RHAS 2.1 and RHEL beta

> > bash-2.05b$ cat preenTelNum.php
> > #!/usr/bin/php -c/etc
> > <?php
> > //
> > //  Clean the dialling database
> > //
> > //       Copyright (c) 2002 Owl River Company
> > //       [EMAIL PROTECTED]
> > //
> > //      Get the database keying
> > //
> > $db_server = "10.20.30.40";
> > $db_user   = "telephone";
> > $db_passwd = "secret";
> > $db_name   = "listing";
> > //
> > $link = mysql_connect($db_server, $db_user, $db_passwd)
> >         or die("Could not connect to $db_server as $db_user \n");
> > //
> > $isdb = mysql_select_db($db_name)
> >         or die("Could not get database $db_name \n");


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to