Posts

Showing posts with the label Computer Tips

PHP simple login script

Image
Hi dear friends, we have discussed about d eleting a file using PHP script  in our previous tutorial. In this tutorial I am going to explain you about login script using PHP. Login is used in applications where a user needs to be authenticated to access an application. This tutorial will give you the basic login form. I have used  MySql  to  connect to the database  where the login details are stored. I have three PHP files where the first file contains the login form, the second contains the process for login form and the third file is the one where you will be redirected after login is successful. Now let us see these files and let me explain them in detail. Please follow these carefully. login.php As I said there are three files. Login.php is the first file that contains login form. Let us see the code for it. login.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmln...

How to connect MySQL Database using PHP

 We have seen how to  fetch youtube videos using simple javascript  in our previous tutorial. Today's tutorial is about connecting our database using PHP. Since PHP is a dynamic scripting language and it uses mysql database in the back end to store the data. That means the php file has to be configured to connect the database. This can be done very easily with a simple php code. This tutorial will help you to connect to the database. The database connection needs four parameters to be passed into two functions.  mysql_connect () and  mysql_select_db () are the two functions to connect to the database. mysql_connect () function requires three parameters and this function is used to connect to the database. and  mysql_select_db () function is used to select the database. Here is the simple code that you can simply copy and use to connect your database with php. <?php $dbhost                 ...

Must Select > Copy > Paste > Compile >Run and Enjoy :) ☺

Image
Must Select > Copy > Paste > Compile >Run and Enjoy :) ☺  #include<iostream.h> #include<conio.h> #include<dos.h> void main() {int i; for(i=10;i<51;i++) {clrscr();gotoxy(20,5); textcolor(i); cout<<"|| P R O G R A M M I N G      S E E K E R Z  ||"; gotoxy(30,30);cout<<"pcphunt.blogspot.com"; gotoxy(i,15); cout<<"\2"; gotoxy(i,16); cout<<"()"; gotoxy(i,17); cout<<"_/|_ "; delay(190); clrscr(); gotoxy(20,5); cout<<"||  P R O G R A M M I N G    S E E K E R Z  ||"; gotoxy(30,30); cout<<"pcphunt.blogspot.com"; gotoxy(i,15); cout<<" \1"; gotoxy(i,16); cout<<" ))"; gotoxy(i,17); cout<<"_|\\_ "; delay(190); }gotoxy(35,16); cout<<"Let's ROcK!!"; gotoxy(30,25); cout<<"Keep Coding ..Be Seekerz \2 :)\n\n\t\t\t`~~ Hafiz Usman ~~"; getch(); }

Top 10 keyboard Shortcuts

Image
Using keyboard shortcuts can greatly increase your productivity, reduce repetitive strain, and help keep you focused. For example, highlighting text with the keyboard and pressing Ctrl + C is much faster than taking your hand from the keyboard, highlighting the text using the mouse, clicking copy from the file menu, and then putting your hand back in place on the keyboard. Below are our top 10 keyboard shortcuts we recommend everyone memorize and use. Ctrl + C or Ctrl + Insert Both  Ctrl + C  and  Ctrl + Insert  will copy the highlighted text or selected item. If you want to cut instead of copy press  Ctrl + X . Ctrl + V or Shift + Insert Both the  Ctrl + V  and  Shift + Insert  will paste the text or object that's in the clipboard. Ctrl + Z and Ctrl + Y Undo any change. For example, if you cut text, pressing this will undo it. This can also often be pressed multiple times to undo multipl...

How to Remove Shortcut Virus From Computer, Hard disk, Pen Drive, USB, Memory card?

Image
Is your Computer or USB affected by shortcut virus? Don’t worry I have a simple solution to remove this shortcut virus from your pc, hard disk and USB. Here we will use command prompt to remove this virus from computer easily just follow below steps. First of all let me tell you what shortcut virus is. Often we use USB pen drive or memory cards in our computer and sometime we see our all file are changed into shortcut files that time is very annoying when we see that type of virus in our computer. Shortcut virus is a virus which is changes your original files into shortcut icon of your folders or file. Shortcut virus is very annoying virus because some antivirus can’t remove this virus from your computer and USB pen drives. So, there is only one method to remove this virus from computer is command prompt. So let me share the steps to remove shortcut virus from computer and USB pen drive. See Also:  How to take screen shot in Android phone Steps to Remove Shortcut Virus are: Follow ...

Easy Ways to Speed Up Your PC

When your PC starts its steady decline into sloth-like speeds, the first thing you’d love to do (besides beating it  Office Space -style) is head straight to the mall for a fancy new machine. But the reality is there are easy changes you can make to speed up your computer. From start up to surfing to gaming, here are five ways you can clean up an old PC to make it look young again.  Speed Up Your Start up If an entire pot of coffee can brew in the time it takes for your computer to boot, it’s time to make some changes. Most likely your computer is not slow – it’s the dozens of programs turning on during start up that are slowing it down. Download a comprehensive tool like Auto runs to easily disable certain programs during your start up. Or try Windows’ slightly less thorough, built-in utility,Ms Config. To find it, go to Search or Run under Start and type “ms config.” Under the “Start up” tab, unchecked the boxes of the programs you don’t need to run every time your...

How to Setup Windows 7 or Windows 8 from USB drive?

Step1: Create Bootable USB Drive: Start PowerISO (v4.8 or newer version, download  here ). Insert the USB drive you intend to boot from. Choose the menu "Tools > Create Bootable USB Drive". The " Create Bootable USB Drive " dialog will popup. If you are using Windows Vista or Windows 7 / 8 operating system, you need confirm the UAC dialog to continue. In "Create Bootable USB Drive" dialog, click "..." button to open the iso file of Windows 7 or Windows 8. Select the correct USB drive from the "Destination USB Drive" list if multiple USB drives are connected to the computer. Choose the proper writing method. "USB-HDD" is recommended. Click "Start" button to start  creating windows 7 / 8 bootable USB drive . If no errors occurred in the above process, you should now be all set to  setup Windows 7 / 8 from USB drive ! Step 2: Configuring the BIOS: You should now reboot and go into the BIOS configuration to boot from ...

How to Check whether your assignment is copied or not....???

How to Check whether your assignment is copied or not...?? Here are some links in which you can paste your assignment text and can check whether ur assignment is copied from any site or not http://www.plagiarismdetect.com/ http://www.dustball.com/cs/plagiarism.checker/ http://www.duplichecker.com/ http://en.writecheck.com/home/ You can paste your assignment text in the following links to check weather   your assignment is copied or not. Before submitting your assignment, make sure your assignment data is not copied, otherwise you will get "ZERO" marks.

How to Remove Autorun Virus from your computer or USB Drive.

Image
Normally when a virus infects a windows system which causes a drive opening problem, it automatically creates a file named autorun.inf in the  root directory  of each drive. This autorun.inf file is a read only ,hidden and a system file and the folder option is also disabled by the virus. This is deliberately done by the virus in order to protect itself. autorun.inf initiates all the activities that the virus performs when you try to open any drive. You have to just delete this file and restart your system to correct this problem. -  First of all open  RUN  for that you click the  Start  Button and search  RUN  and type  CMD  and press Enter key, Or You can directly search CMD and click ok.   Type  Your Drive name Like D, E, F  according to your disk name and then press enter key for example D: or E: Then Type  attrib -r -h -s autorun.inf   and press enter. Please note the spacing: no space be...

How to Reopen any Recently Closed Tab in Chrome, Mozilla and Internet Explorer

Image
We have all accidentally  closed  a tab in Google’s Chrome, Mozilla and  Internet Explorer browser . This can be a very frustrating situation. Chrome is quite forgiving and allows you to easily reopen the closed tab, even if you have closed other tabs after it.  These  instructions   for windows  and mac computers will show you the different ways for restoring or undoing an accidentally closed tab. Updated with new methods and to point out the different methods used on Windows and OS X systems. For Chrome User There are two method to reopen your closed tab. Method 1:- If your tab in closed then, you open your chrome browser and click the option button and click the  Recent Tabs.  and choose your Tabs. Method 2:- The second method is very simple you simply use keyboard shortcut for reopen your closed tab. For Mozilla User Method 1:- In mozilla same process is work. if any tab is closed in your Mozilla then first open your mozilla browser then ...

Increase Your Internet Speed

1. First you go to start button 2. Go To Run 3. Type gpedit.msc And Then Hit Enter. 4.Then Expand Adminsitrative Templates. 5.Then Network 6.Then QoS Packet Scheduler. Now A New List Appear . Click On Limit Reservable Bandwidth. Just Disable it. Now You Click On Apply . That's It Now You Are Done !!Now Just Restart Your Computer . And I hope You will Get change in Your Speed

How To Make Single Name FB Account

This trick is working for Mozilla Firefox so try it on Mozilla. Firstly Change your Browser Proxy Manually use one of the proxy from below given. HTTP Proxy :- 119.235.16.41 114.6.15.154 112.215.10.74 PORT :- 8080 Then Save Your Settings. Now Open your Facebook Account Name Settings. Change your language from English (us) to  Bahasa Indonesia Then Simply remove Your Last Name And Save it. Now Your Facebook Account is only with First Name Without Last Name. After Completing all steps remove Manual Proxy and select use system proxy settings and change change your language back to English (us) Important Note :-  Firstly Open your Facebook account settings then change proxy because sometime after changing proxy their will be error in log in account

Login Too Many FB Accounts With Google Chrome at a time:

Many peoples have too many Facebook account and but to open 3,4 or more accounts at same time is a great problem for many peoples Because to log in your many accounts you need different browsers. But by using this trick their is no need to download different browsers for using Facebook because Google chrome has option of add new user in which u can browse differently by making new different browser. Follow these simple step for adding new users in Google chrome Firstly download Latest version of Google chrome. Then Open Google chrome and go to Settings. Then Click On Add New Users at users option. By using to option you can add many user.

HOW TO TAKE A SCREEN SHOT

Press (print screen) from your keyboard. Using this the screen shot will be copied. And open paint and paste there. That’s done.

Hiding A Volume/Disk Completely

Image
The following trick will enable you to hide any volume or disk you want for the sake of your  privacy:- follow the given steps :- 1. click on start. 2. select run. 3.Now type cmd. (this will open a command prompt) 4.type the command DISKPART 5.now type LIST VOLUME 6.now we have to select the drive we want to hide for example : SELECT VOLUME 3 7. type the command now REMOVE LETTER E (as in case of volume 3) Boom . the volume will become invisible when you restart your computer. To get the volume back to visible state. follow the steps 1 to 6 again : and in the 7th step write ASSIGN instead of REMOVE enjoy…..