Wednesday, September 7, 2011

Wall ready for demonstration of BEST (pvt) Ltd.






Mean by showing the entire path for the students with variety of choices. I feel them which has the powerful tools to encourage the nation with knowledge society. They are the BEST Team in competitive market.

  

Monday, September 5, 2011

code for Check if a table exists in MYSQL.

use this command:
mysql> show tables like 'your_table_name';

in your php script you can check:
if(row_count==1)
/* then table exists; */

You can also try .

SHOW TABLES;

or

SHOW TABLES 'your_table_name';

For checking DataBases:

SHOW DATABASES;

or

SHOW DATABASES 'your_db_name';

Getting mechine ID...!

Problem Description:
In order to activate or get passcodes for my license, I must provide a Host ID or Machine ID.

Solution:
When a license file is generated for a specific computer, it is locked to a number that is unique to that machine. For some UNIX machines, the 32-bit hostid is used. For Linux, Mac, and Windows machines, the ethernet (MAC) address is used. Optionally, on Windows computers, the IP Address can also be used.
 
Instructions for finding your Host ID or Machine ID:

Windows® (all)
For standalone licenses (including the Student version), the Host ID can be
  1. either the volume serial number of the C:\ drive (Option 1), or 
  2. the MAC Address (Physical Address) of the first Ethernet adapter (Option 2).For network licenses, the Host ID can be the MAC Address (Physical Address) of the first Ethernet adapter (Option 2) or 
  3. the IP Address of the first Ethernet adapter (Option 3).

Option 1: Volume Serial Number (Standalone licenses & Student Version only)
To obtain the Volume Serial Number, open a Command Prompt window, and run the command:

vol c:

Option 2: MAC Address (Physical Address, All licenses)
To obtain the MAC Address, open a Command Prompt window, and run the command:

getmac

Option 3: IP Address (Network licenses only)
To obtain the IP address, open a Command Prompt window, and run the command:

ipconfig