operating system

Difference between multiprogramming and multitasking

Definition of multiprogramming The process of sharing CPU time with multiple programs or jobs is called multiprogramming. Multiprogramming is based on content switching. In context switching, one job run until I/O interrupt occurs. When I/O interrupt occurs then CPU switch to another job. There may also occur other types of interrupts like event interrupt, memory

Difference between multiprogramming and multitasking Read More »

Find IP address, referrer, uri , operating system using php

Today i will teach you how to find IP address, referrer, uri , operating system using php. We will use $_SERVER to get all this information. $_SERVER[‘HTTP_REFERER’] is used to get the url of the page that refered the user to the current location. $_SERVER[‘REMOTE_ADDR’] is used the get the client IP address $_SERVER[‘REQUEST_URI’] is

Find IP address, referrer, uri , operating system using php Read More »