Re: compiling C code

Discussion in 'C Programming' started by The Natural Philosopher, Feb 3, 2009.

  1. Keith W wrote:
    > Is there something in PHP that lets me compile and execute
    > a C program?
    >
    > Thanks very much!
    >
    > Keith

    exec() or system()?
     
    The Natural Philosopher, Feb 3, 2009
    #1
    1. Advertising

  2. The Natural Philosopher

    Richard Bos Guest

    Mark McIntyre <> wrote:

    > The Natural Philosopher wrote:
    > > Keith W wrote:
    > >> Is there something in PHP that lets me compile and execute
    > >> a C program?


    > > exec() or system()?

    >
    > This is OT in clc, but on any reasonably properly configured system, php
    > shouldn't be able to run arbitrary programmes on the host.


    The problem is finding...

    > Which indicentally is exactly how a bunch of driveby infections work.


    ....yeah.

    Richard
     
    Richard Bos, Feb 9, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jonas L

    VS is adding code when compiling

    Jonas L, Apr 1, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,029
    =?iso-8859-15?Q?Lasse_V=E5gs=E6ther_Karlsen?=
    Apr 1, 2004
  2. Jeronimo Bertran

    Compiling a code behind file as unsafe

    Jeronimo Bertran, Nov 18, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    435
    Jacob Yang [MSFT]
    Nov 19, 2003
  3. Garrett Cooper
    Replies:
    0
    Views:
    578
    Garrett Cooper
    Feb 24, 2009
  4. Garrett Cooper
    Replies:
    0
    Views:
    509
    Garrett Cooper
    Feb 24, 2009
  5. Lon Baker
    Replies:
    1
    Views:
    230
    Csaba Henk
    Mar 21, 2005
Loading...

Share This Page