Custom Search

News World

Jun 5, 2011

PHP > SELECT Query

1 #########################################
2 SIMPLE SCRIPT FOR SELECT QUERY
3 #########################################
4
5 < ? php
6 mysql_connect('localhost');
6 mysql_select_db('foo');
6 $result = mysql_query("select * from users");
6 if(!$result) echo mysql_error();
6 else {
6 while($row = mysql_fetch_row($result)) {
6 echo "$row[0] - $row[1] - $row[2] - $row[3] - $row[4]
\n";
6 }
6 }
6 ? >

Output:
mesakh - u8EOdeOls9ERlew - Web Solusi - web.solusi@gmail.com - 7823198438933424
abetnego - 7dTRdsf4Dler4524 - Web Media - e_webmedia@yahoo.com - 7823198438933424

Jun 4, 2011

PHP > Insert Query

1 < ? php
2 function add_user($id, $pass, $name, $email) {
3 $result=mysql_query("insert into users values
4 ('$id',ENCRYPT('$pass'),'$name','$email',NULL)");
5 if($result) {
6 echo "Row inserted
";
7 } else {
8 echo mysql_error()."
";
9 }
10 }
11 mysql_connect('localhost');
12 mysql_select_db('foo');
13 add_user('mesakh','sober','Web Solusi','web.solusi@gmail.com');
14 add_user('abetnego','weber','Web Media','e_webmedia@yahoo.com');
15 ? >

Output:
Row insertedRow inserted

CCBoot : Diskless Boot WinXP/Win2003/Vista/Win2008

A hard drive over a network and boots up an operating system from a
remotely located machine. CCBoot is the convergence of the rapidly emerging iSCSI protocol
with gPXE diskless boot technology.

Remote boot over iSCSI, or CCBoot, pushes the iSCSI technology even further, opening the door
to the exciting possibility of the diskless computer. CCBoot technology allows a diskless boot of
either Windows 2003, Windows Vista, or Windows 2008 from an iSCSI target machine remotely
located over a standard IP network.

CCBoot offers a seamless diskless boot. Eliminating the need for a local hard drive opens a wide
range of possibilities for network management. Using this configuration, the disks for many
network computers can be centrally managed, thereby facilitating backup, redundancy, and
dynamic allocation of valuable storage resources while at the same time reducing cost to the
enterprise.

Booting from iSCSI makes system administration considerably easier. Freeing a server of its boot
volume allows administrators to manage investments in their iSCSI SANs, attaining improved
data security, integrity and recovery, higher availability, quicker server deployment & repurposing,
and more efficient utilization of storage resources.



Benefits :

#. Reduce complexity and risk.
#. Improve critical system availability.
#. Implement enhanced Disaster Recovery solutions.
#. Significantly reduce initial capital and implementation costs.
#. Reduce power and cooling requirements.
#. Accelerate deployments, upgrades, and server repurposing.

Feature :

# Boot Windows XP, Windows 2003, Vista, Windows 7 and Windows 2008 from iSCSI storage/target.
# Inside DHCP, gPXE, TFTP, Image Upload and iSCSI Target. It's all-in-one solution for iSCSI boot.
# Support physical drive, volume drive and VMWare disk file.
# Support upload boot image to the server and save with VMDK format.
# Clients can recovery to a new clear system after reboot.
# Clients can keep own system data after reboot.
# Support image read cache and client write-back cache.
# Support RAM cache with huge memory access (AWE).
# Support SSD cache.
# Support multiple servers, multiple NICs and load balance.
# Support multiple disks.
# Support client write cache.
# Support one image compatible with different devices (PnP).


System Requirements :

#Server Requirements
1. Windows 2000, Windows XP, Windows 2003, Vista or Windows 2008.
2. Latest service packs should be installed on the server.

#Client Requirements
1. Windows XP, Windows 2003, Vista, Windows 7 or Windows 2008.
2. PXE 2.x compliant network adapter

Jun 2, 2011

System Application of Traffic Laws That Keep On Blackouts Worldwide

Many countries in the world, which is not strictly in the application of laws that have been set up by the State,
especially to the officials of foreign nations. And vice versa, foreign nations sometimes do not respect the law in the State visited.

But I really salute the application of traffic laws in the UK for visiting U.S. President that is Mr. Barack Obama, but do Fines for violation of rules and regulations set by the traffic laws of the State.
And I also salute Mr. Barack Obama for respect and tolerance to traffic laws contained in the UK,
especially traffic laws, although Mr. Barack Obama is a president of a great nation, that USA.
The actions of law enforcement and respect the need and is very well addressed and implemented by the nations of the world.

Not only legal traffic on the highway, but also the law - that there are other laws in each State,
but of course that makes sense and not be insulted or hurt others.


Mr. Barack Obama Got Fines in England




"The Beast" when passing in crowded streets in London, England

LONDON,
While your most important person in the world, the rules remain in effect absolute in England.
This happens at the number one in the United States, Barack Obama was asked to pay a fine of congestion (Congestion Charge) paid for through streets (like electronic road pricing / ERP), along with dozens of his entourage during a visit in London.
These requests are sent directly Governor of London Boris Johnson, as reported by the Evening Standard newspaper.
Governor said, every car in the convoy Obama will be fined 10 paundsterling, including steeds Obama, The Beast.
Boris also said, the U.S. embassy in London refused to pay the accumulated fines jam with a total 5.3 million pounds.

This, obviously Boris, already delivered directly to Obama during a visit took place.
"Our position on congestion fines, according to the Vienna Convention on diplomatic relations in 1960 in this case, all applicable taxes in one country is prohibited for the delegates of other countries," said representatives from the U.S. Embassy in London.

Behind Boris replied, "The road we have not officially closed during the visit of the president (Obama) is done, so the entourage of cars and motorcycles that have to pay. Includes The Beast, seems to apply the same thing," said Boris. "The convoy had done similar Pope some time ago, but he was not fined because all the roads closed to the public by the government, this case is different," said Boris.
U.S. embassy and other state delegations have agreed to say, the fine imposed to try them was none other than taxes.

Because of their diplomatic activity, it can not be charged.
Parties to the London Transport Ministry said the total of all foreign diplomats debt (all countries) in the British capital has reached 51 million pounds.

IT Conversations

Moneycontrol Latest News

Latest new pages on Computer Hope

Latest from Infoworld

Door Lock

Door Lock Import Top Door Lock from China Contact Quality Manufacturers Now