Hi all,
I am a super newbie to PHP and i was told to code a C program and put it into the server. And users are suppose to run it from client browser. This is my undergraduate thesis.
Anyone can help??
Regards
How to Access C Program from the Server called by PHP
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
run it directly, or php is supposed to run it?
running it directly involves sending the file to the client browser in some fashion (typically download.)
running from php involves using one of the execution functions such as exec(), however, if this application is graphical and not command line or at least command line interactive, you will have difficuly getting php to show anything to a client.
running it directly involves sending the file to the client browser in some fashion (typically download.)
running from php involves using one of the execution functions such as exec(), however, if this application is graphical and not command line or at least command line interactive, you will have difficuly getting php to show anything to a client.
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia