How to check if popen() actually finds and runs executable and fwrite() passes data?

I have an executable written in C which reads some data thru scanf. I wanna call it from PHP using popen() and pass data using fwrite(). How will I know if popen finds and executes file ad fwrite() really writes to the executable's input. I mean, my PHP script to do this task doesn't work

Category:php Time:2019-01-05 Views:8
Tags: php popen

Related post

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.805 (s). 13 q(s)