Patdel Posted November 26, 2009 Share Posted November 26, 2009 yo!..I'm doing a project in college and my hopes are to output bits on a parallel port on the server side, using a separate pc from somewhere else in the world. Now theres c code already out there if you plan on controlling the parallel port of your own computer but i was wondering would it be possible to implement some php into the c code so that when i log onto my custom made website site (from lets say ireland) i could click on a button that had php behind it, it would go down the server, the c prog would see it on the servers computer (in Australia), take its value (bits high) and execute the value on the parallel port?.. i've written up some c code already but i can't see how to put a php code into it...any help would be great, thanksĀ Link to comment https://forums.phpfreaks.com/topic/183012-activate-c-using-php/ Share on other sites More sharing options...
GingerRobot Posted November 26, 2009 Share Posted November 26, 2009 Well PHP supports sockets, so couldn't you have the C-code listening in on a socket and have PHP connect to it? Link to comment https://forums.phpfreaks.com/topic/183012-activate-c-using-php/#findComment-965909 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.