#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Singapore
    Posts
    21
    Rep Power
    0
    Does PHP works like PERL?

    E.g.
    In PERL,
    $output = `C_Program paramter1 parameter2`;

    How does PHP get the output stream of a C program?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    France
    Posts
    16
    Rep Power
    0
    The backtick operator works the same way.
    There's also several functions to deal with program execution.
    Look at http://www.zend.com/manual/ref.exec.php


    Hth

    JBL

Similar Threads

  1. Replies: 1
    Last Post: January 27th, 2004, 01:13 PM
  2. A program calling another program
    By linh in forum Visual Basic Programming
    Replies: 3
    Last Post: November 23rd, 2003, 01:42 AM
  3. problem with CGI script calling a java program
    By ramsateesh in forum Perl Programming
    Replies: 0
    Last Post: November 12th, 2003, 08:13 AM
  4. Replies: 6
    Last Post: November 8th, 2003, 03:18 PM
  5. Help! program that doesnt run on another computer
    By tom_meir in forum Visual Basic Programming
    Replies: 4
    Last Post: November 6th, 2003, 10:46 AM

IMN logo majestic logo threadwatch logo seochat tools logo