Jump to content

maya75

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

maya75's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi again, I found an alternative method which works fine  ;D : [code]$var = `php myscript.php a b`;[/code] Bye! Thanks again.
  2. Wow, thanks for your quick and appropriate answer  :o  :D I'm going to have a look at the pipe command + file handler proposition you gave. Kind Regards.
  3. Hello, When I do this in a Linux command line : [CODE]perl -e 'system("php myscript.php a b")'[/CODE]it works, i.e. I have a string as the return value. But If I do this inside my perl script : [CODE]$var = system("php myscript.php a b");[/CODE]it doesn't works, i.e. I have 0 as the return value ($var). The code of script.php is : [CODE]#!/usr/bin/php -q <?php echo $argv[1].$argv[2]; ?> [/CODE] Can you see the problem ? Thanks a lot for any help  :)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.