How to pass parameters from command line to $_POST in php-script?

I know this could sound a little weird but I need to pass some parameters to a $_POST array. Similar to the way apache does it, or any other web server.

Unfortunately I couldn't find libapache2-mod-php5 anywhere for my Ubuntu.

30
задан Chris 13 April 2011 в 20:43
поделиться