Answer the question
In order to leave comments, you need to log in
Console application in PHP. A very simple question?
I am writing a console application using curl.
#!/usr/bin/php
<?php
system('curl -X POST -d "k='.$argv[1].'&m='.$argv[2].'" http://my.site.loc/');
./myapp UAPI.PytJade3f3eced962 'hello, how are you?'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 77 100 31 100 46 15500 23000 --:--:-- --:--:-- --:--:-- 38500
"message: hello, how are you?"
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