Execute program at server side??? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Execute program at server side???

I want to launch or trigger my C++ exe file via php or html or java code. Can I do that?
Suppose I am using my computer as local host.

I appreciate any help you can offer.

Comments

  • ITAITA Posts: 463Member
    : I want to launch or trigger my C++ exe file via php or html or java code. Can I do that?
    : Suppose I am using my computer as local host.
    :
    : I appreciate any help you can offer.
    :

    You can use the exec() function in PHP to run programs/commands on the server.

    ITA
    "Let us smite the evil slime eating hordes who may befall us on our quest to be the ultimate programmers of the known universe!"

  • un4got10un4got10 Posts: 2Member
    thanx bro...
    I've done it using exec pointing on a shortcut of the original program
Sign In or Register to comment.