Is there a way to set a $_POST[\'var\'] without using form related field (no type=\'hidden\') and using only PHP. Something like
$_POST[\'var\']
$_POST[\'name\'
you can do it using ajax or by sending http headers+content like:
POST /xyz.php HTTP/1.1 Host: www.mysite.com User-Agent: Mozilla/4.0 Content-Length: 27 Content-Type: application/x-www-form-urlencoded userid=joe&password=guessme