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

    Join Date
    Nov 2000
    Posts
    0
    Rep Power
    0
    Hey,
    I have written a c program using Baltimores Encryption solution. I need to be able to access the executable from PHP but have not got the first clue how...
    I simply need to pass the executable a string, and expect a string back. The whole function works on the command line, but, AGGHHH, how to i integrate it into PHP...
    this is why i love ASP and COM , im sure there must be any easy solution, help me out here chaps

    Baj
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 1999
    Location
    Netherlands
    Posts
    77
    Rep Power
    15
    Try:
    exec('command', $returnarray), which will execute your command and return the output lines as elements in $returnarray.

    Peter

IMN logo majestic logo threadwatch logo seochat tools logo