#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Location
    Blacksburg VA/Philly PA
    Posts
    38
    Rep Power
    13

    c++ cgi argument passing


    Currently I am working on a couple cgi scripts using c++ that I want to pass arguments to such as filenames. Are there any ways I can do this from a php script?

    I was thinking maybe passing the arguments to the cgi script like you normally would from the command line, but to no avail.

    Anyone have any ideas?

    thanks.
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    USA
    Posts
    286
    Rep Power
    14
    When you call the CGI, pass the arguments in the query string:

    Code:
    <a href="/cgi-bin/foo.cgi?param1=value&amp;param2=value">...</a>
    Jon Sagara

    "Me fail English? That's unpossible!"
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Location
    Blacksburg VA/Philly PA
    Posts
    38
    Rep Power
    13
    many thanks

IMN logo majestic logo threadwatch logo seochat tools logo