[thelist] New to NT
Seth Bienek
seth at sethbienek.com
Tue Feb 20 13:21:39 CST 2001
Hi Chris,
"ipconfig" is the command you're looking for.
try "ipconfig /all" for detailed results.
Regards,
Seth
------------------------------
Seth Bienek
Solutions Development Manager
Stonebridge Technologies, Inc.
972.455.7294 tel
972.404.9754 fax
ICQ #7673959
------------------------------
> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of CDitty
> Sent: Tuesday, February 20, 2001 12:17 PM
> To: thelist at lists.evolt.org
> Subject: [thelist] New to NT
>
>
> Hi all. I recently upgraded to NT 2k Pro and can't find a certain
> command. Perhaps someone here knows what it is. What is the
> command in NT
> to see the current IP address assigned to your machine? ie...in Windows
> 95/98 it is Winipcfg. What is the NT equivalent?
>
> Also, anyone know any good Win 2k sites for bugs, tips, etc?
>
> Thanks
>
> Chris
>
>
> Can't give a tip, but I can give a program.
>
> <PHP Program - MySQL Database backup>
> It's nothing spectacular, but it does it's job.
> Let me know if you have problems.
>
> <?
> # Variables
> # User ID
> $userid = "root";
>
> # Password - If you need to use a password add -p${password} to
> # $password="passwd";
>
> # Connect to the database
> $dblink = mysql_connect("localhost", "$userid");
> $db_list = mysql_list_dbs($dblink);
>
> # Location of Mysqldump
> $mysqlbindump="/usr/bin/mysqldump -u" . $userid;
>
> # Location of Mysql Database backup directory
> $dbbackupdir="/home/httpd/html/mysql_backups";
>
> # Location of tar
> $tar="/bin/tar";
>
> # Location of gzip
> $gzip="/usr/bin/gzip";
>
> $curr_time = date("mdY");
>
> # Let the fun begin
> while ($row = mysql_fetch_object($db_list)) {
> $dbList = $row->Database;
> exec("$mysqlbindump --opt $dbList >
> $dbbackupdir/$curr_time.$dbList.backup");
> exec("$tar -cf $dbbackupdir/$curr_time.$dbList.tar
> $dbbackupdir/$curr_time.$dbList.backup");
> exec("$gzip $dbbackupdir/$curr_time.$dbList.tar");
> exec("rm $dbbackupdir/$curr_time.$dbList.backup");
> }
> ?>
>
>
>
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
More information about the thelist
mailing list