Skip to main content

Posts

Showing posts with the label php

How to run PHP in IIS ?

  I'd be glad to provide a comprehensive guide on running PHP in IIS on Windows 10, incorporating the necessary Windows features like CGI and Hyper-V: Prerequisites : Windows 10: Ensure you have Windows 10 installed with administrative privileges. IIS : Enable the Internet Information Services (IIS) feature: Open " Control Panel" -> "Programs" -> "Programs and Features" -> "Turn Windows Features On or Off " . Expand " Internet Information Services " and check the following options: Web Management Tools Common HTTP Features Application Development Features Security Performance Management Click " OK " to install the selected features. Installing PHP : Download PHP: Visit the official PHP website ( https://www.php.net/downloads.php ) and download the latest stable version for Windows (e.g., PHP 8.2). Extract the ZIP file: Extract the downloaded ZIP file to a des...

How to use NetStat cmd windows tool in PHP ?

Netstat  (Network Statistics) is a command-line tool that provides information about network connections, routing paths, interface statistics, and other aspects of the network. It is used to diagnose network problems and monitor network activity. Netstat Features Viewing active connections  : Netstat shows a list of all active TCP, UDP, and UNIX connections. Port Information  : You can get information about open ports and those that are listening. Protocol Statistics  : Netstat provides statistics for various protocols like TCP, UDP, ICMP. Routing Tables  : The tool shows the routing table, which is useful for analyzing the routes of packets in the network. Network Interfaces  : Netstat displays statistics for network interfaces, such as the number of packets sent and received. Netstat Usage Examples Displaying all connections and ports  : netstat -a Display only TCP connections  : netstat -at Display only UDP connections  : netstat -au Displ...

block chain php

invoking commands include('blockchain.php'); $run = new shell_exec; $string=$run->ini_set('blocks',0,0,'chain'); $block=$run->ini_set('string',0,1,'chain'); $block=$run->ini_set('string',1,1,'chain'); $block=$run->ini_set('string',2,1,'chain'); blockchain.php class shell_exec { private $string; private $type; private $action; private $net; private $position; private $output; public function ini_set($string, $type, $action, $net)  { if((isset($string))&&(isset($type))&&(isset($action))&&(isset($net))) { $this->string = $string; $this->type = $type; $this->action = $action; $this->net = $net; $this->position = NULL; if(self::catch())  { $output = self::catch(); $this->output = $output; return $this->output; }  else  { return false;  } } else  { return false;  }...