UNIX C Send data to PHP

Helo, i try send data from Unix to PHP. What is the correctly way to do this ?

i try:

c
char command [100];
sprintf(command , "php import.php %s",my_vars);
system(command );

php
$my_data = @ $argv[1];

this work, but i am not sure that is the right way. an the special chargers are not in php site. (:wink:

who can me say the best way to do this ?

thank you

Without seeing more of what you're doing it's impossible to say.

What are "special chargers"?