+ Reply to Thread
Results 1 to 2 of 2

Thread: a CGI issue

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    1

    Default a CGI issue

    Hello,

    On a Shared Hosting: will I be able to compile my C++ sources and use the binary as a CGI program?

    I would run the compiler and set the executable privileges via the exec() function from my php script. So the question is, is it allowed to run C++|CPP and chmod via exec() in php.

    (I presume it’s possible to run a php script as a CGI process under restricted user privileges)

  2. #2
    Ray
    Ray is offline
    I can't do everything.
    Join Date
    Jun 2004
    Location
    Plymouth, WI
    Posts
    134

    Default

    Due to security concerns, PHP's exec() function is unavailable, I believe. This was the case previously, and I would doubt that it has changed recently.
    Ray Tetzloff


+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts