Archive for June, 2008
Windows 7
No more mouse and keyboard to interact with the computers as Microsoft is going to release their next generation of Windows operating system. In this newer version you can control your computers using the touch screen technology as like Apple’s iphone.
Microsoft chairman Bill Gates and Steve Ballmer, chief executive officer of Microsoft Corporation gave a quick look about a the new features during the All Things D technology conference on the last Tuesday night. Gates said, “The way you interact with the system will change dramatically, today almost all the interaction is keyboard-mouse. Over years to come, the role of speech, vision, ink – all of those things – will be huge.”
This new operating system is expected to hit the stores by the end of 2009 or early 2010. Microsoft expects that this new Windows version will get a healthier reception than Windows Vista.
Mysql_connect Vs Mysql_pconnect
There are two different connections available, if you are connecting to a MySQL database in your PHP application, mysql_connect – which set up a new connection “each time” and mysql_pconnect which uses persistent connections.
Mysql_connect opens a new connection each time a PHP page is called, and closes the connection down again at the end of the request. It is perfect for pages that do not have a heavy usage.
Mysql_pconnect will also open a new connection when a PHP page is called, but it will NOT close the connection at the end of the request – instead, it will put aside it in a connection pool so that a succeeding request can persist to use the same connection. It’s intended for pages that have a heavy usage – where the resources burn up by opening and closing connections every time might reduce performance.
But mysql_pconnect need some tuning of the servers and you may require limiting the numbers of connections / children and configuring timeouts and how to deal with idle children.
By using this you have some drawbacks as follows.
It does NOT give you sessions.
It does NOT give you a per-site-visitor login.
It does NOT give you any added functionality.




