
Put execution arg into $_GET
2019-07-28 / Dimas Lanjaka Kumala Indra
PHP CLI
<?php
if ($argv) {
foreach ($argv as $k=>$v)
{
if ($k==0) continue;
$it = explode("=",$argv[$i]);
if (isset($it[1])) $_GET[$it[0]] = $it[1];
}
}
?>
Put execution arg into $_GET
PermaLink: https://www.webmanajemen.com/2019/07/put-execution-arg-into-get.html
Google Rich Snippets | Schema Markup Validator | Google Pagespeed Insight