Unzip a Zip File in php


    function unzip($location,$newLocation){
        if(exec("unzip $location",$arr)){
            for($i = 1;$icount($arr);$i++){
                $file = trim(preg_replace("~inflating: ~","",$arr[$i]));
            return TRUE;
            return FALSE;
//Use the code as following:
include 'functions.php';
    echo 'Success!';
    echo 'Error';

Create a folder without name in Windows XP

This is not a super high-tech geeky trick but it just a short and simple trick on how you can create a folder without name in Windows XP.

When each time you create a new folder in Windows XP, Microsoft has made “New Folder” as the default name. Even you enter the spacebar so many times to create blank spaces, it still will generate the “New Folder” text like this.


So, how you can create a folder like this?

So, how you can create a folder like this?


No, it is not a Photoshop trick. I did not edit the first image. Lol… Here is how.

To do this trick, you need a keyboard with numpad. To rename the folder with blank spaces, just press Alt + 255 and hit Enter. Then you are successfully creating a folder without name in Windows XP.

But, make sure to press the numbers from the numpad and not from the numbers below the F1 – F12 keys. And take note that you only can create one folder without name in a directory.

Why should I use this trick? Nothing! Just for fun or maybe you can use it to amaze your friends.

Note: I think this trick also will work in Windows Vista.

Top 10 free PC programs everyone should have

There are millions of free and open source projects available, many of them better than any commercially available product. Below is a short listing of what we think is the best out there, broken down into ten categories.

antivirus and malware protection

Most PC users realize that they need protection on their computer or may have an installed antivirus program from their computer manufacturer. What most don’t realize is that there are free programs that are just as good and in some cases better than the commercial products. Below are our recommendations

antivirus program: Avast! or AVG

Malware and Spyware protection: Malwarebytes

Backup solutions

There are dozens of free and commercially available backup programs for computers. Unfortunately many of those backups are stored locally, meaning if your house were to catch fire, get robbed, or if you lost your backup discs all your data would be lost. This is why when dealing with important data we suggest users use online backup services.

Online backup solution: Mozy or Dropbox


Although Microsoft Internet Explorer comes pre-installed on Windows computers. There are several excellent free alternatives that everyone should try. These free alternatives can often be faster, have more options, and in many cases be more secure than Internet Explorer.

Internet Browser: Mozilla Firefox or Google Chrome

Compression utility

When downloading files on the Internet you’ll eventually encounter a .zip, .rar, or other compressed file. Dealing with these files can be easy with our below free file compression utility.

File compression utility: 7-Zip

Disc ripper and creation utility

Creating an audio or data CD/DVD, ripping the data from an audio CD, or creating a CD from a .ISO file can also be done freely using our below free recommendation.

CD burner utility: CDBurnerXP


E-mail is yet another service that can be done freely. Most users today use online e-mail solutions like the one listed below. However, for those still using an e-mail client such as Microsoft Outlook we strongly suggest one or both of the below suggestions.

E-mail client: Mozilla Thunderbird

Online e-mail: Gmail

FTP, SFTP, and SSH Utility

Users who maintain their own web page or need to upload or download files to or from a server will have to use an FTP utility or a SSH client. There are many commercial programs capable of doing this but our below free recommendations beats them all.

FTP client: Filezilla

SSH client: Putty

Image editor, paint program, and picture organizer

There are many great free solutions for editing, creating, and organizing your images on your computer. Many of the programs capable of doing these tasks can be several hundred dollars, but all of the below programs are completely free.

Image editor: GIMP

Paint program: Paint.net

Picture organizer: Google Picasa


There are dozens of different multimedia programs with different capabilities and limitations. Below are our top free multimedia programs for watching video files and recording audio.

Audio editing and creating tool: Audacity

Video and DVD Player: VLC

Office Suite

An Office suite such as Microsoft Office is often one of the most expensive programs that a user can install on their computer. Why install these expensive programs when there are free solutions that are just as good.

Office suite: OpenOffice

Notepad and Source code editor: Notepad++

Top Ten Tips To Improve System Speed

1. Let your PC boot up completely before opening any applications.

2. Refresh the desktop after closing any application. This will remove any unused files from the RAM.

3. Do not set very large file size images as your wallpaper. Do not keep a wallpaper at all if your PC is low on RAM (less than 64 MB).

4. Do not clutter your Desktop with a lot of shortcuts. Each shortcut on the desktop uses up to 500 bytes of RAM

5. Empty the recycle bin regularly. The files are not really deleted from your hard drive until you empty the recycle bin.

6. Delete the temporary internet files regularly.

7. Defragment your hard drive once every two months. This will free up a lot of space on your hard drive and rearrange the files so that your applications run faster.

8. Always make two partitions in your hard drive. Install all large Softwares (like PSP, Photoshop, 3DS Max etc) in the second partition. Windows uses all the available empty space in C drive as virtual memory when your Computer RAM is full. Keep the C Drive as empty as possible.

9. When installing new Softwares disable the option of having a tray icon. The tray icons use up available RAM, and also slow down the booting of your PC. Also disable the option of starting the application automatically when the PC boots. You can disable these options later on also from the Tools or preferences menu in your application.

10. Protect your PC from dust. Dust causes the CPU cooling fan to jam and slow down thereby gradually heating your CPU and affecting the processing speed. Use compressed air to blow out any dust from the CPU. Never use vacuum.


Hidden Programs in windows Xp.

Hidden Programs in windows Xp. Type the following commands in RUN.

Programs :

1. Private Character Editor :
Used for editing fonts,etc.
** start>>Run
** Now, type eudcedit

2. Dr. Watson :
This an inbuilt windows repairing software !
** start>>Run
** Now, type drwtsn32

3. Media Player 5.1 :
Even if you upgrade your Media Player, you can still access your old player in case the new one fails !!!
** start>>Run
** Now, type mplay32

4. iExpress :
Used to create SetupsYou can create your own installers !
** start>>Run
** Now, type iexpress

Trick to Show Your name after time in taskbar…

Try this  trick to add up ur name in place of AM and PM beside time
Its simple
Step-1:- Navigate to -> Start -> Control Pannel -> Regional and Language Option -> Click on Customize -> Go to TIME Tab -> Change AM symbol and PM symbol from AM and PM to ur name -> Apply -> Ok …
Did It change? If not, follow step-2 below.

Step2:- Now go to time in taskbar and Double Click it to open “Date and time property” …Look place where time changes in digital form i.e. 02:47:52 AM , click to arrow to cnage the AM or PM by selecting and press arrow. It will Show ur name or name that was entered by u, Apply -> OK and be HAPPY 8)

Offline Gmail to browse gmail from computer by downloading the whole gmail

Gmail as we all know a short form for Google Mail is one of the products of Google INC. In the race of email clients Gmail is coming up with more and more abilities which has attracted millions of users from other mail accounts like yahoo, msn. They have introduced much extra features through lab features which are presently in testing stage but users can still use it .You can view and enable them from the tab which appears in right most corner of the gmail.

The latest lab feature is the ‘offline gmail’ – to access gmail from computer,which ultimately gives the power to download all or selected gmail mails or messages to your pc for the offline use. Offline Gmail is still an early experimental feature

How to enable Offline Gmail

Offline Gmail is available to everyone who uses Gmail in US or UK English, so if you don’t see it under the Labs tab yet, it should be there soon. Once you see it, just follow these steps to get started:

1. Click Settings and click the Labs tab.
2. Select Enable next to Offline Gmail.
3. Click Save Changes.
4. After your browser reloads, you’ll see a new “Offline0.1″ link in the upper righthand corner of your account, next to your username. Click this link to start the offline set up process and download Gears if you don’t already have it.

When you hit save, Gmail will synchronize new messages you didn’t have downloaded before and remove the ones you’re not planning to read from your hard drive. You can always change your settings back to keep fewer or moremessages later on — fewer messages means Offline Gmail runs faster

New Features of Gmail Offline

The feature that Google implemented through Gmail Labs, Gmail offline, just received new functionality. That is, even when offline you can write an email and attach any file that when you have Internet access, the email will be sent automatically. It manages to offer a little more versatility in equipment such as netbooks or laptops.

The good thing about this is that being able to read messages while offline, and now write to attach a file, compared with a desktop mail client virtually no difference.
The new functionality to attach files offline has been integrated transparently to users, so if you had “Offline” live in GMail Labs, enjoy it directly and by activating the service, too.

To activate the new functionality, simply visit the Google Labs tab, select the Offline Gmail option, provided they had not previously checked, and save your changes. . Then in the top right corner of the Gmail page you will see a link “Offline”, that we will be able to click to start using the application.
A blow to popular applications like Microsoft Outlook, Thunderbird or Windows Live Mail

Speed up your internet by 20%

Microsoft reserves 20% of your available bandwidth for their own purposes like Windows Updates and interrogating your PC etc

You can get it back:

Click Start then Run and type “gpedit.msc” without quotes. This opens the group policy editor.

Then go to:
–> Local Computer Policy
–> Computer Configuration
–> Administrative Templates

–> Network

–> QOS Packet Scheduler

–> Limit Reservable Bandwidth.

Double click on Limit Reservable bandwidth.

 It will say it is not configured, but the truth is under the ‘Explain’ tab i.e.” By default, the Packet Scheduler limits the system to 20 percent of the bandwidth of a connection, but you can use this setting to override the default.”
So the trick is to ENABLE reservable bandwidth, then set it to ZERO. This will allow the system to reserve nothing, rather than the default 20%.It works on Win 2000 as well.  

Mobile Friendly WordPress Site

11 Ways to Create a Mobile Friendly WordPress Site

Mobile technology is going big. Every other user is now viewing your website from their iPhone or other smart phones. It is essential that you create a mobile friendly version of your WordPress site. Majority of top sites and blogs have already made their sites mobile friendly, but there are tons of other sites and blogs that lacks a mobile friendly version. In this article, we will share some ways you can create a mobile friendly version of your WordPress blog for your users and for yourself.

For Users

In this section we will share all the ways that will create a mobile friendly version of WordPress for your users.

1. Mobify


Mobify is a free service that makes WordPress, Drupal and other websites mobile-friendly. Supports iPhone, Android, BlackBerry and 5000+ other devices. Many top brands including, MTV, Sitepoint, Boingboing, Smashingmagazine, Discover Magazine and others are using Mobify. WPBeginner’s mobile version is also powered by mobify. Mobify allows you to customize your site design and it is a great pack for designers. WordPress mobify plugin.

2. Mofuse


Mofuse has a free option to make your blog mobile friendly for various devices including, iPhone, Android, Blackberry and others. Top blogs like Mashable, Readwriteweb, Makeuseof are using Mofuse. Mofuse displays your RSS Feeds to your users. Their free option does not give you enough freedom which is why we did not use their service, but it is very easy to setup. They also have a WordPress Mofuse Plugin.

3. WordPress Mobile Edition

WordPress Mobile Edition is a plugin by Crowd Favorite. This plugin shows an interface designed for a mobile device when visitors come to your site on a mobile device. Mobile browsers are automatically detected, the list of mobile browsers can be customized on the settings page.

4. WPTouch


WPTouch is a mobile plugin/theme for your WordPress website. It automatically transforms your WordPress blog into a web-application experience when viewed from an iPhoneTM, iPod touchTM, AndroidTM, or BlackBerry StormTM touch mobile device. WPTouch has a very good admin options panel. Make sure you check out their gallery for screenshots.

5. WPTap


WPTap offers both free and paid themes that lets you display a mobile friendly version to touchscreen phones like the iPhone, iPod Touch, Android and Blackberry. It is compatible with other WordPress plugins that can be used with older devices. This plugin leaves your regular theme as is, and it only displays the tap theme when a smartphone/touch phone user accesses the site.

6. WordPress Mobile Pack

WordPress Mobile Pack

The WordPress Mobile Pack is a complete toolkit to help mobilize your WordPress site and blog. It includes a mobile switcher to select themes based on the type of user that is visiting the site, a selection of mobile themes, extra widgets, device adaptation and a mobile administration panel to allow users to edit the site or write new posts when out and about.

7. MobilePress


MobilePress is a free WordPress plugin which turns your WordPress blog into a mobile friendly blog when viewed on a cell phone. MobilePress also allows you to create custom mobile themes for different handheld devices and mobile browsers such as the iPhone, Opera Mini and Windows Mobile.

For Administrators

In this section, we will share how you can create a mobile friendly WordPress Admin Panel for administrators (you). This will allow you to manage comments and create new posts using your mobile device.

8. WordPress for iPhone

WordPress for iPhone

Official iPhone app that lets you write posts, upload photos, edit pages, and manage comments on your blog from your iPhone or iPod touch. With support for both WordPress.com and self-hosted WordPress (2.7 or higher), users of all experience levels can get going in seconds.

9. WordPress for Blackberry

WordPress for Blackberry

Official WordPress for BlackBerry app allows you to write posts, upload photos and videos, edit pages, and manage comments. Both WordPress.com and self-hosted WordPress (2.7 or higher) sites are supported.

10. WordPress for Android

WordPress for Android

Official WordPress for Android is an Open Source app that empowers you to write new posts, edit content, and manage comments with built-in notifications. Download it now and get blogging in no time.

11. WPhone

Wphone creates the option to use a custom admin interface designed for mobile phones. It has two options called Rich and Lite. Rich option is designed for the iPhone / iPod Touch and other phones supporting full Javascript and CSS featuring fancy AJAX and sliding menus. Lite option is a lightweight, simple version designed for all other phone types (no Javascript or anything else required).

Which plugin are you using? Share your opinions about these plugins in the comments below. If we missed a one that you would like us to include feel free to suggest it in the comments. Also, if you find this article useful, don’t forget to share it with others.

Types of Search Engines

Search engines are an extremely powerful way of promoting your website online. Consider them your silent Public Relations firm, search_enginequietly working in the background. Many studies have shown that between 40% and 80% of users found what they were looking for by using the search engine feature of the Internet.

According to Search Engine Watch (http://www.searchenginewatch.com) – 625 million searches are performed every day!

The great thing about search engines is they bring targeted traffic to your website. These people are already motivated to make a purchase from you- because they searched you out.

With the right website optimisation, the search engines can always deliver your site to your audiences.


P2P search engines

Metasearch engines

Geographically limited scope







Main article: Job search engine





Real estate / property


Video Games

By information type

Search engines dedicated to a specific kind of information




Source code


These search engines work across the BitTorrent protocol.




Question and answer

Human answers

Automatic answers

Natural language

By model

Privacy search engines

Open source search engines

Semantic browsing engines

Social search engines

Visual search engines

Types of Web Browsers

Web Browsers are software installed on your PC. To access the Web you need a web browsersbrowsers, such as Netscape Navigator, Microsoft Internet Explorer or Mozilla Firefox.

Currently you must be using any sort of Web browser while you are navigating through my site tutorialspoint.com. On the Web, when you navigate through pages of information this is commonly known as web browsing or web surfing.

The most popular are: 

Internet Explorer 
Google Chrome 

However, there are literally dozens of browsers that have existed since the “birth” of the internet. Not including mobile browsers (such as browsers found on some of the earlier cell phones), the list of major browsers that have existed are as follows:
IBM WebExplorer 
Netscape Navigator 
Internet Explorer 
AOL Explorer 

These are in roughly chronological order, as presented by Wikipedia Other browsers have existed, but due to their low popularity were not included on this list. Low popularity, of course, is relative to the time era; WorldWideWeb never had as many users as Chrome does today, but was used by the majority of the Internet users in the world at the time it came out (as it was the first real web browser). In the real world, only a few browsers are considered serious contenders of the “market”, as the rest are either obsolete, only fill a niche market, or have not yet gained popularity; the latter usually comes about because people are hesitant to “try” a new browser since their current browser has served their purpose for a significant length of time
a web browser is a software application that renders code written in HTML and Javascript that is located on a webserver.
some examples of web browsers are chrome, firefox, sparkbrowser, netscape, and internet explorer.
There are three major browsers in the PC world. The most famous is Internet Explorer (IE) which is a Microsoft creation, and is bundled with the Windows operating system. Internet explorer has been prone to numerous security bugs and is considered the least secure out of all three major browsers. The second major browser is Firefox, which is amongst the most secure, and is the most easiest to use in my opinion. The third is Chrome which is a recent browser Google has released. It to is easy to use and secure for the most part.

In terms of the MAc platform the only major broswer is Safari, which is a Apple creation, and is bundled with the OS platform.

Read more: http://wiki.answers.com/Q/What_are_the_different_types_of_web_browsers#ixzz1tLiYxi5k