Sunday 29 July 2012

How To Play LAN Games Using Hamachi

0 comments
In this tutorial I will show you how to play LAN games with your friends using the Hamachi software.


First download Hamachi from hamachi.en.softonic.com and install it.


How to create new network using Hamachi?


There are three icons that show up along the bottom of the rectangular menu. Clicking on the triangular icon opens up the networking menu, where you can join a network if you have the proper information or set one up.
Click on triangular icon -> create new network




Type name of server and password


Click Create

How to join to hamachi network ?

Click on triangular icon – > join existing network


Enter the name and pasword of network that you want to join


How to play counter strike through Hamachi ?

To host a Counter Strike game:

  • Turn off or disable your firewall when you play using hamachi. If you are using the Windows firewall, remember to turn it off from the Control Panel.
  • Run Hamachi. Click the last button and choose Preferences. Then click Window and check the Show “Advanced…” peer menu item checkbox and click OK.



  • You must open ports go to control panel then to windows firewall and exceptions and select hlds then click on add port.



  • In name type CS in port number type port 28010, select UDP , click OK 



  • Run hdls Launcher ( C:\Program Files\Counter-Strike 1.6) , type information as shown below, just use your server name and password, click Start server



For every new player who joins your networks you have to do the following steps:

  • Right click the player’s entry in Hamachi, click Advanced. In the Peer VPN alias box enter the first three parts of your Hamachi IP address (example: 5.109.111) and add the last part of the player’s IP address ( example: .59) so that it makes a new IP address.Click OK and then exit Hamachi. Launch Hamachi again.




  • When you finish that call your friend to join your hamachi network and do not give them ip addres of server (192.168.x.x) give them your hamachi ip then when they want to connect to your server in ther CS console( to run console press ~) type connect 5.101.x.x : your port :28010 and hit enter 



To join a Counter Strike game:

  • Turn off your firewall (or disable it). Remember to turn it back on after you finish playing.Run Counter strike. Press the ~ key on the keyboard. It is to the left of the 1 key on the top row of the keyboard.

         Type connect hamachi ip :port to connect
         For example:


The game will connect and you can start playing.



Continue reading →
Tuesday 10 July 2012

Why PHP is better than other scripting languages?

1 comments


You will get different views with regards to the function of PHP and ASP.Net.  According to an individual, PHP is better than ASP.Net due to its ROI and open source. But another group have got more benefit than the latter. PHP is a decent language which has got a peculiar specification of object orientation as well as flexibility.  The programmers dealing with VB.NET and C# will be within the venture of switching language in the half way.  You will get inheritable classes around to avail .NET library. There will also be association with image manipulation as well as the working of XML. An individual can easily handle a lot of common task for it.


The facilities and disadvantage in PHP


The latest language known as PHP 5 has got true OOP as well as the capacity of exception handling. In order to prevent class naming collision, the language has got the disadvantage of name spacing advantage. The type checking of PHP is really very loose as compared to ASP.Net. All the variables present in PHP does not have a type.


Advantage of ASP.Net


An individual will definitely get the advantage of ASP.Net framework. There is an option of availing language inter operability. Due to this advantage, an individual can easily use any type of language. Even hit would be compatible with any preferred language of individual. It is now possible to use multiple languages in a single application by using dll.  This is generally used when you come across a big project or have an involvement of a complex team.  Here an individual will not have to upload the source code in the particular server.






The skeptics are asking themselves, "Why should I learn PHP?" The days of static Websites built with HTML files and a few CGI scripts are over: Today's sites must be dynamic.All the stale company brochures littering the streets of the Internet will transform into 24-hour virtual storefronts or be swept away. The toughest decision facing the creator of a Web application is choosing from hundreds of technologies.
Perl has adapted well to being a CGI solution and it has been used to drive complex Web technology like CyberCash and Excite's EWS search engine. Microsoft provides its Active Server Pages with Internet Information Server. Middleware like Allaire's Cold Fusion is yet another solution. ServerWatch.com lists hundreds of Web technologies, some costing tens of thousands of dollars. Why should you choose PHP over any of these alternatives?
The short answer is that PHP is better. It is faster to code and faster to execute. The same PHP code runs unaltered on different Web servers and different operation systems. Additionally, functionality that is standard with PHP is an add-on in other environments. A more detailed argument follows.
PHP is free. Anyone may visit the PHP Web site and download the complete source code. Binaries are also available for Windows. The result is easy entry into the experience. There is very little risk in trying PHP, and its license allows the code to be used to develop works with no royalties. This is unlike products such as Allaire's Cold Fusion or Everyware's Tango Enterprise that charge thousands of dollars for the software to interpret and serve scripts. Even commercial giants like Netscape and IBM now recognize the advantages of making source code available.
PHP runs on UNIX, Windows 98, Windows NT, and the Macintosh. PHP is designed to integrate with the Apache Web Server. Apache, another free technology, is the most popular Web server on the Internet and comes with source code for UNIX and Windows. Commercial flavors of Apache like WebTen and Stronghold support PHP, too. But PHP works with other Web servers, including Microsoft's Internet Information Server. Scripts may be moved between server platforms without alteration. PHP supports ISAPI to allow for the performance benefits of tightly coupling with Microsoft Web servers.
PHP is modifiable. PHP has been designed to allow for future extension of functionality. PHP is coded in C and provides a well-defined Application Programming Interface (API). Capable programmers may add new functionality easily. The rich set of functions available in PHP are evidence that they often do. Even if you aren't interested in changing the source code, it's comforting to know you can inspect it. Doing so may give you greater confidence in PHP's robustness.
PHP was written for Web page creation. Perl, C, and Java are very good general languages and are certainly capable of driving Web applications. The unfortunate sacrifice these alternatives make is the ease of communication with the Web experience. PHP applications may be rapidly and easily developed because the code is encapsulated in the Web pages themselves.
Support for PHP is free and readily available. Queries to the PHP mailing list are often answered within hours. A custom bug-tracking system on the PHP site shows each problem along with its resolution. Numerous sites, such as phpbuilder.com and zend.com, offer original content to PHP developers.
PHP is popular. Internet service providers find PHP to be an attractive way to allow their customers to code Web applications without the risks exposed by CGIs. Developers worldwide offer PHP programming. Sites coded in PHP will have the option of moving from one host to another as well as a choice of developers to add functionality.
Programming skills developed in other structured languages can be applied to PHP. PHP takes inspiration from both Perl and C. Experienced Perl and C programmers learn PHP very quickly. Likewise, programmers who learn PHP as a first language may apply their knowledge toward not only Perl and C, but other C-like languages such as Java. This is very different from learning to code in a visual editor such as Microsoft Visual InterDev.


Continue reading →