Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

php passing get in linux command prompt


php passing get in linux command prompt  using -'php,linux'

Say we usually access via

http://localhost/index.php?a=1&b=2&c=3


How do we execute the same in linux command prompt?

php -e index.php


But what about passing the $_GET variables? Maybe something like php -e index.php --a 1 --b 2 --c 3? Doubt that'll work.

Thank you!
    

asked Sep 9, 2015 by rajesh
0 votes
11 views



Related Hot Questions



Government Jobs Opening


...