Accessing php project over the network

                              Here we are going to see the setting of php project accessing over the network it can be of any i.e wampp,xampp and lampp. For accessing the project you have to make some mandatory changes in configuration files of your wampp or xampp or lampp etc.

Filename where we are going setting up something i.e. (http.conf) file which located in apache folder.

Common full path of httpd.conf file is 


Changes which you have to make in the file i.e find Require local and change it to Require all granted

After making the changes just save all file and restart all services once. then go to other pc and open browser enter ip address of project accessing pc i.e. ip_address/project_name 

Then hit enter button you can view the php project of other pc into your pc over the same network.

And if you are having any query realted to this setup you can clear your doubt by commenting on post we definitely revert you.

Enhancing Webpage Security with jQuery: Preventing Right-Click and Hotkey Access

In jquery there is differect types of events in which we have to block 'F12','Ctrl+Shift+I' and right click i.e.'keycode 123' for whole document. All keycode and button  opens the Inspect Element screen in the browser. Adding a keydown event than only does return false for 123 will block the Inspect Element screen.

For preventing Right click Context menu:
$(document).on("contextmenu", function (e) {        

For preventing 'F12' and 'Ctrl+Shift+I' button click:
$(document).keydown(function (event) {
    if (event.keyCode == 123) // Prevent F12
        return false;
    else if(event.ctrlKey && event.shiftKey && event.keyCode == 73)
    // Prevent Ctrl+Shift+I
        return false;

Related Articles:
1. Check current date falls between two dates function in jquery
2. Loading gif image for freeze page to process ajax request in jquery

For more details you can ask in the comments for more queries ...

How to Block or Redirect Websites in windows ?

                       The Windows Hosts file is a file that Windows uses to control and map IP addresses. By editing the Hosts file, Windows can be customized to block or redirect specific websites and even protocols that are used by programs and applications.

To get started editing the Windows Hosts file, you first need to locate it.
  1. Open Windows Explorer and click on This PC or My Computer
  2. Double-click on C:\
  3. then the Windows folder and scroll down the page until you reach the System32 folder.
  4. Inside of that folder, open drivers 
  5. and then open etc folder
  6. You’ll now see several files, one of which is hosts.


Now, notice that the file type for the hosts file is listed as File. Because there is no default program set to open a file type like this, double clicking the hosts file will simply give you a Windows prompt, asking you which program you would like to use to open the file.

From this prompt, you can choose to edit the hosts file with Notepad. So, simply click to select Notepad and click the OK button. From there, Notepad will launch with the hosts file information.

This way of opening the hosts file was demonstrated to show where the hosts file is actually located within Windows, but you won’t be able to edit it because it’s a system file. In order to edit the file, you have to open Notepad first, running as an Administrator.
Click on Start and type in Notepad, but don’t click on Notepad to open it. Rather, right-click the Notepad listing to bring up the context menu. Select the option Run as Administrator.

With Notepad open, select File > Open. Navigate to C:\Windows\System32\drivers\etc. You will get a blank screen that displays the prompt No items match your search. Change Text Documents (*.txt) to All Files using the drop down menu. Now, you can select the hosts file and click Open.


Adding files to the hosts file is very simple. The hosts file uses the format:
IP Address
Blocking a website in Windows is as simple as typing the following into the bottom of the hosts file:
So, if I wanted to block a website like, I could just add the following line:

What we are actually telling Windows is that the website should redirect to the IP address, which is just the loopback address on our local system. If you don’t have a local website setup on your computer, you’ll just get an error page in your web browser.

For more details you can ask in the comments for more queries ...