Most voted "php-cli" questions
PHP run from command line (CLI - Command Line Interface)
Learn more…5 questions
Sort by count of
-
3
votes1
answer83
viewsMake getopt ignore first argument
I’m creating a PHP CLI, and wanted to run something like this php console.php comando -a foo -b bar -d But with the function getopt I can’t get past the comando if not the Buga function and do not…
-
1
votes1
answer96
viewsPHP does not find files when running on the terminal
I run the file x normally, in it I include through require_once various other files, and through the browser I run it normally. But when I run the file by terminal it does not find the same files,…
-
0
votes1
answer68
viewsPrinting and vector allocation in php cli
I am making a program in PHP that simulates the allocation of programs in a Memory. The problem is that it does not allocate the data in the vector. It prints the vector as if it were the same after…
-
0
votes1
answer583
viewsHow to run a php socket
This script below is a php socket to receive data from a tk102 vehicular tracker. The problem is that I think it has to run in a specific folder on the server and I don’t know how to do it, and…
-
-1
votes1
answer49
viewsAccess google Analytics via PHP API [Impossible ? ]
Hello, I’m trying to two days to find a way to connect the google api Analytics via PHP (I will use in CLI mode) to get data from a certain view. The problem is that the api is EXTREMELY CONFUSING…