Shell - Command Line PHP Hacking Input

Friday, February 2nd, 2018 | Coding
Last Modified: 2024-11-07



Argv is default for incoming command line arguments, this applies to Python as well.

$a = $argv;
$b = array();
	
if (count($a) != 0) {
		
	foreach ($a as $arg){
	   list($x,$y) = explode('=', $arg);
	   $b["$x"]    = $y;  
	}
		
	$message = $b['message'];
	$key = $b['key'];
			
}



Input Action Output
A collection of snippets and links that have proven useful for development and programming in ColdFusion, JavaScript, jQuery, PHP, Python, Dell, Minecraft, Apple, Mac, Windows, LINUX, Raspberry Pi, Adobe, CSS, and HTML.

©2024 Input Action Output