Answer the question
In order to leave comments, you need to log in
How to pass argument from file to application?
There is a simple command
C:\Users\LOL\Desktop\Новая папка (8)>"C:\Users\LOL\Desktop\Новая папка (8)\test.php" -t 500
array(1) {
[0]=>
string(50) "C:\Users\LOL\Desktop\═ютр яряър (8)\test.php"
}
C:\Users\LOL\Desktop\Новая папка (8)>D:\WebServers\usr\local\php5\php.exe "C:\Us
ers\LOL\Desktop\Новая папка (8)\test.php" -t 500
array(3) {
[0]=>
string(50) "C:\Users\LOL\Desktop\═ютр яряър (8)\test.php"
[1]=>
string(2) "-t"
[2]=>
string(3) "500"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question