CodeIgniter Forums
CLI command with $_POST data - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: CLI command with $_POST data (/showthread.php?tid=47884)



CLI command with $_POST data - El Forum - 12-26-2011

[eluser]chandrajatnika[/eluser]
I'm using codeigniter 1.7.2 and use cron.php to execute CI on command line (CLI).
But right now the purpose of command line is changed, we want to use that to communicate from an application to CI application, if the controller and method doesn't need $_POST data then it's not a problem. I need $_POST data to customize return value.
But how to send $_POST data via CLI?

Anyone can help me? I really appreciate any help. Thank you