Need example to get command line parameter in PHP


#1

Please provide an example on how to read the text passed on the command line to the compiled .exe in a PHP script. T

Thanks


#2

http://php.net/manual/en/features.commandline.php


#3

I am referring to:

 compiled_phpapp.exe  "some parameter text here"

looking for example … in the context of an executable complied by exeoutput

Thanks


#4

The link by Gilmichel is available for CLI programs made with ExeOutput.
For GUI apps, see this explanation:


#5

That works for me … thanks