in reply to Re: Any option to call exe in cgi page
in thread Any option to call exe in cgi page

Hi CCN

After selecting the file from dropdown box in CGI page,
i have to insert some text in that selected pdf file for that i am using exe.
After that i need to upload the edited pdf file.

So, I need to execute program at server side.

Thanks in advance

Shanmugam A.
  • Comment on Re^2: Any option to call exe in cgi page

Replies are listed 'Best First'.
Re^3: Any option to call exe in cgi page
by ccn (Vicar) on Oct 28, 2008 at 11:20 UTC
    OK. Than you can use system or backticks to execute a program from your script
Re^3: Any option to call exe in cgi page
by ww (Archbishop) on Oct 28, 2008 at 13:08 UTC

    Some clarity still missing for me (YMMV)

    1. After selecting the file from dropdown box in CGI page,
    2. i have to insert some text in that selected pdf file for that i am using exe.
    3. After that i need to upload the edited pdf file.
       
    4. So, I need to execute program at server side.

    So, despite OP's final statement, I don't think this unambiguously means modification of the .pdf on the server side.

    Line by line:

    1. Probably means server side...unless "dropdown" really refers to a upload-selection-box (ie: user at client selecting a file from the client machine).
    2. Appears to mean OP is using a Windows .exe to modify the .pdf: At the client or at the server NOT determined as server could be running on 'doze.
    3. Use of "upload" instead of "save" or "e;write" suggests transmission from the client to the server
      in which case
    4. execution of the .exe may be anticipated on the client side.

    That would be "a whole 'nuther case," so, I seek clarification.

Re^3: Any option to call exe in cgi page
by Anonymous Monk on Oct 28, 2008 at 11:30 UTC